Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudHubIO ¶
type CloudHubIO interface { SetReadDeadline(time.Time) error SetWriteDeadline(time.Time) error ReadData(*model.Message) (int, error) WriteData(*model.Message) error Close() error }
CloudHubIO handle the IO operation from connection
type JSONIO ¶ added in v1.6.1
type JSONIO struct {
Connection conn.Connection
}
JSONIO address the json data from connection
func (*JSONIO) SetReadDeadline ¶ added in v1.6.1
SetReadDeadline set read operation dead line
func (*JSONIO) SetWriteDeadline ¶ added in v1.6.1
SetWriteDeadline set write operation dead line
Click to show internal directories.
Click to hide internal directories.