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(interface{}) (int, error) WriteData(interface{}) error Close() error }
CloudHubIO handle the IO operation from connection
type JSONQuicIO ¶
type JSONQuicIO struct {
Connection conn.Connection
}
func (*JSONQuicIO) Close ¶
func (quicio *JSONQuicIO) Close() error
func (*JSONQuicIO) ReadData ¶
func (quicio *JSONQuicIO) ReadData(d interface{}) (int, error)
func (*JSONQuicIO) SetReadDeadline ¶
func (quicio *JSONQuicIO) SetReadDeadline(time time.Time) error
func (*JSONQuicIO) SetWriteDeadline ¶
func (quicio *JSONQuicIO) SetWriteDeadline(time time.Time) error
func (*JSONQuicIO) WriteData ¶
func (quicio *JSONQuicIO) WriteData(d interface{}) error
type JSONWSIO ¶
JSONWSIO address the json data from connection
func (*JSONWSIO) SetReadDeadline ¶
SetReadDeadline set read operation dead line
func (*JSONWSIO) SetWriteDeadline ¶
SetWriteDeadline set write operation dead line
Click to show internal directories.
Click to hide internal directories.