client

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientConnection

type ClientConnection struct {
	Receive chan packet.Packet // messages from Broker
	Send    chan packet.Packet // messages to Broker
	// contains filtered or unexported fields
}

func Connect

func Connect(addr string, clientId string, keepAlive uint16, session bool, login string, pass string, debug bool) (*ClientConnection, error)

Jump to

Keyboard shortcuts

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