Documentation ¶
Index ¶
Constants ¶
View Source
const ( Rserved = iota CONNECT CONNACK PUBLISH PUBACK PUBREC PUBREL PUBCOMP SUBSCRIBE SUBACK UNSUBSCRIBE UNSUBACK PINGREQ PINGRESP DISCONNECT )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Connack ¶
type Connack struct {
// contains filtered or unexported fields
}
func (*Connack) GetReturnCode ¶
func (*Connack) SetReturnCode ¶
type Connect ¶
type Connect struct {
// contains filtered or unexported fields
}
func (*Connect) GetKeepAlive ¶
func (*Connect) GetPassword ¶
func (*Connect) GetReturnCode ¶
func (*Connect) GetUserName ¶
func (*Connect) IsCleanSession ¶
type Pack ¶
type Pack struct {
// contains filtered or unexported fields
}
func GetPubPack ¶
Get a publis pack
func (*Pack) GetVariable ¶
func (pack *Pack) GetVariable() interface{}
Click to show internal directories.
Click to hide internal directories.