Documentation ¶
Index ¶
- Constants
- type BaseToken
- type CallToken
- type MqttCall
- func (m *MqttCall) Call(clientID, ch string, data nson.Message, timeout time.Duration) (nson.Message, error)
- func (m *MqttCall) Hooks() mqtt.Hooks
- func (m *MqttCall) Llac(ch string, callback func(nson.Message) nson.Message) error
- func (m *MqttCall) Load(server mqtt.Server) error
- func (m *MqttCall) Name() string
- func (m *MqttCall) Unload() error
- type MqttLlac
Constants ¶
View Source
const ( CALL_ID = "call_id" CALL = "call" LLAC = "llac" )
请求
View Source
const ( PARAMS = "params" CODE = "code" ERROR = "error" DATA = "data" DATA_SIZE = "data_size" )
请求相关
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseToken ¶
type BaseToken struct {
// contains filtered or unexported fields
}
func (*BaseToken) WaitTimeout ¶
type CallToken ¶
type CallToken struct {
// contains filtered or unexported fields
}
func (*CallToken) WaitTimeout ¶
type MqttCall ¶
type MqttCall struct {
// contains filtered or unexported fields
}
func NewMqttCall ¶
Click to show internal directories.
Click to hide internal directories.