mirror of
https://github.com/go-micro/go-micro.git
synced 2024-12-24 10:07:04 +02:00
Use Socket in the Client interface
This commit is contained in:
parent
2c65a38ba9
commit
7868d5a2cb
@ -16,9 +16,7 @@ type Socket interface {
|
||||
}
|
||||
|
||||
type Client interface {
|
||||
Recv(*Message) error
|
||||
Send(*Message) error
|
||||
Close() error
|
||||
Socket
|
||||
}
|
||||
|
||||
type Listener interface {
|
||||
|
Loading…
Reference in New Issue
Block a user