Documentation
¶
Index ¶
Constants ¶
View Source
const BODY = channel.ReplayState(3)
View Source
const FLAG = channel.ReplayState(1)
View Source
const LENGTH = channel.ReplayState(2)
Variables ¶
This section is empty.
Functions ¶
func VarIntEncode ¶
Types ¶
type Client ¶
type Client struct {
AutoReconnect func() bool
Handler channel.Handler
// contains filtered or unexported fields
}
func (*Client) Disconnect ¶
type SimpleCodec ¶
type SimpleCodec struct {
*channel.ReplayDecoder
// contains filtered or unexported fields
}
func NewSimpleCodec ¶
func NewSimpleCodec() *SimpleCodec
func (*SimpleCodec) Write ¶
func (h *SimpleCodec) Write(ctx channel.HandlerContext, obj any, future channel.Future)
Click to show internal directories.
Click to hide internal directories.