1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-08-04 21:42:57 +02:00

Strip some dead code

This commit is contained in:
Asim Aslam
2019-08-15 20:54:00 +01:00
parent ef04331b86
commit 88817dc53f
2 changed files with 0 additions and 22 deletions

View File

@ -123,16 +123,6 @@ func (s *Socket) Close() error {
return nil
}
// Indicates its closed
func (s *socket) Done() bool {
select {
case <-s.closed:
return true
default:
return false
}
}
// New returns a new pseudo socket which can be used in the place of a transport socket.
// Messages are sent to the socket via Accept and receives from the socket via Process.
// SetLocal/SetRemote should be called before using the socket.