status

package
v0.0.0-...-139309a Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleRequest

func HandleRequest(w http.ResponseWriter, r *http.Request)

Types

type Connection

type Connection struct {
	LastTimestamp time.Time
	LastPacket    mqtt.Identifier
}

type Connections

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

func NewConnections

func NewConnections(proto string) *Connections

func (*Connections) Connected

func (c *Connections) Connected(conn net.Conn)

func (*Connections) Disconnected

func (c *Connections) Disconnected(conn net.Conn)

func (*Connections) MarshalJSON

func (c *Connections) MarshalJSON() ([]byte, error)

func (*Connections) Packet

func (c *Connections) Packet(conn net.Conn, packet mqtt.Identifier)

Jump to

Keyboard shortcuts

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