2018-04-12 01:23:40 +00:00
|
|
|
package client
|
2018-04-11 09:27:16 +00:00
|
|
|
|
2018-04-12 01:23:40 +00:00
|
|
|
type Connector interface {
|
2018-04-11 09:27:16 +00:00
|
|
|
Connect() (readChan <-chan []byte, writeChan chan<- []byte, err error)
|
|
|
|
Disconnect() error
|
2018-04-12 01:23:40 +00:00
|
|
|
|
|
|
|
Validate() error
|
2018-04-11 09:27:16 +00:00
|
|
|
}
|