Use Socket in the Client interface

This commit is contained in:
Asim 2016-11-05 11:44:02 +00:00
parent 2c65a38ba9
commit 7868d5a2cb

View File

@ -16,9 +16,7 @@ type Socket interface {
} }
type Client interface { type Client interface {
Recv(*Message) error Socket
Send(*Message) error
Close() error
} }
type Listener interface { type Listener interface {