9 lines
156 B
Go
9 lines
156 B
Go
package client
|
|
|
|
type Connector interface {
|
|
Connect() (readChan <-chan []byte, writeChan chan<- []byte, err error)
|
|
Disconnect() error
|
|
|
|
Validate() error
|
|
}
|