clients

package
v0.0.0-...-e8184fc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func (*Client) Init

func (c *Client) Init(conn net.Conn, ctx context.Context)

func (*Client) ProcessPublish

func (c *Client) ProcessPublish(p *packets.PublishPacket)

func (*Client) ReadLoop

func (c *Client) ReadLoop()

type ClientMgr

type ClientMgr struct {
	// contains filtered or unexported fields
}

func NewClientMgr

func NewClientMgr() *ClientMgr

func (*ClientMgr) Close

func (cm *ClientMgr) Close()

func (*ClientMgr) GetClient

func (cm *ClientMgr) GetClient(conn net.Conn, ctx context.Context) *Client

type InflightStatus

type InflightStatus uint8
const (
	Publish InflightStatus = 0
	Pubrel  InflightStatus = 1
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL