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:
@ -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.
|
||||
|
Reference in New Issue
Block a user