Documentation ¶
Overview ¶
nolint
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventHandshakeComplete ¶
EventHandshakeComplete is emitted after handshake is completed.
type Handshake ¶
type Handshake struct {
// contains filtered or unexported fields
}
Handshake is a protocol for application specific handshake.
type HandshakeAck ¶
type HandshakeAck struct {
Error string
}
HandshakeAck is a handshake ack.
func (*HandshakeAck) DecodeScale ¶
func (t *HandshakeAck) DecodeScale(dec *scale.Decoder) (total int, err error)
func (*HandshakeAck) EncodeScale ¶
func (t *HandshakeAck) EncodeScale(enc *scale.Encoder) (total int, err error)
type HandshakeMessage ¶
HandshakeMessage is a handshake message.
func (*HandshakeMessage) DecodeScale ¶
func (t *HandshakeMessage) DecodeScale(dec *scale.Decoder) (total int, err error)
func (*HandshakeMessage) EncodeScale ¶
func (t *HandshakeMessage) EncodeScale(enc *scale.Encoder) (total int, err error)
Click to show internal directories.
Click to hide internal directories.