Documentation ¶
Index ¶
Constants ¶
View Source
const ( SubAckQos0 = 0x00 SubAckQos1 = 0x01 SubAckQos2 = 0x02 SubAckFailure = 0x80 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Broker ¶
type Broker struct {
// contains filtered or unexported fields
}
func (*Broker) StartHttpListen ¶
func (b *Broker) StartHttpListen()
func (*Broker) StartTCPListen ¶
func (b *Broker) StartTCPListen()
func (*Broker) StartWsListener ¶
func (b *Broker) StartWsListener()
type Client ¶
type Client struct { Id string // contains filtered or unexported fields }
func (*Client) Ping ¶
func (c *Client) Ping(packet *packets.PingreqPacket)
func (*Client) Publish ¶
func (c *Client) Publish(packet *packets.PublishPacket)
func (*Client) Subscribe ¶
func (c *Client) Subscribe(packet *packets.SubscribePacket)
Click to show internal directories.
Click to hide internal directories.