Use Socket in the Client interface
This commit is contained in:
		| @@ -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 { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user