Documentation
¶
Index ¶
Constants ¶
View Source
const ( ErrorNone errorCode = iota ErrorIO ErrorTimeout ErrorTooBig ErrorInvalid ErrorNoVSN ErrorNoFrameSize ErrorNoCap ErrorBadVsn ErrorBadFrameSize ErrorFragNotSupported ErrorInterlacedFrames ErrorFrameIDNotfound ErrorRes ErrorUnknown errorCode = 99 )
Variables ¶
This section is empty.
Functions ¶
func ListenAndServe ¶
Types ¶
type AckFrame ¶
type AckFrame struct {
ActionWriterCallback func(*encoding.ActionWriter) error
FrameID uint64
StreamID uint64
}
type Agent ¶
func (*Agent) ListenAndServe ¶
type AgentDisconnectFrame ¶
type AgentDisconnectFrame struct {
ErrCode errorCode
}
type AgentHelloFrame ¶
type HandlerFunc ¶
func (HandlerFunc) HandleSPOE ¶
func (h HandlerFunc) HandleSPOE(ctx context.Context, w *encoding.ActionWriter, m *encoding.Message)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.