7 lines
134 B
Go
7 lines
134 B
Go
|
package socket
|
||
|
|
||
|
type Client interface {
|
||
|
Connect() (readChan <-chan []byte, writeChan chan<- []byte, err error)
|
||
|
Disconnect() error
|
||
|
}
|