9 lines
123 B
Go
9 lines
123 B
Go
package client
|
|
|
|
type ConnectionState interface {
|
|
Close()
|
|
IsClosed() bool
|
|
WriteData(data []byte) error
|
|
StartReading()
|
|
}
|