Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HandshakeRecord ¶
type PingRecord ¶
type PingRecord interface {
GetSentAt() int64
}
type PongRecord ¶
type Transcoder ¶
type Transcoder interface { Marshal(interface{}) ([]byte, error) Unmarshal([]byte, interface{}) error NewHandshakeRecord() HandshakeRecord MarshalHandshake(HandshakeRecord) ([]byte, error) UnmarshalHandshake([]byte) (HandshakeRecord, error) UnmarshalPing([]byte) (PingRecord, error) NewPongRecord() PongRecord MarshalPong(PongRecord) ([]byte, error) }
Click to show internal directories.
Click to hide internal directories.