package socket type Client interface { Connect() (readChan <-chan []byte, writeChan chan<- []byte, err error) Disconnect() error }