Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Timeout = 10 * time.Millisecond
Timeout for middleware
Functions ¶
This section is empty.
Types ¶
type Connect ¶
type Connect interface {
HandleConnect(Context, *types.ConnectMessage) error
}
Connect middleware
type Context ¶
type Context interface { Set(k, v interface{}) Get(k interface{}) interface{} }
Context for middleware
type Disconnect ¶
type Disconnect interface {
HandleDisconnect(Context, *types.DisconnectMessage) error
}
Disconnect middleware
type Downlink ¶
type Downlink interface {
HandleDownlink(Context, *types.DownlinkMessage) error
}
Downlink middleware
Click to show internal directories.
Click to hide internal directories.