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 ¶ added in v1.0.0
type JSONQuicIO struct {
Connection conn.Connection
}
func (*JSONQuicIO) Close ¶ added in v1.0.0
func (quicio *JSONQuicIO) Close() error
func (*JSONQuicIO) ReadData ¶ added in v1.0.0
func (quicio *JSONQuicIO) ReadData(d interface{}) (int, error)
func (*JSONQuicIO) SetReadDeadline ¶ added in v1.0.0
func (quicio *JSONQuicIO) SetReadDeadline(time time.Time) error
func (*JSONQuicIO) SetWriteDeadline ¶ added in v1.0.0
func (quicio *JSONQuicIO) SetWriteDeadline(time time.Time) error
func (*JSONQuicIO) WriteData ¶ added in v1.0.0
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.