MCPcopy
hub / github.com/mochi-mqtt/server / ReadFn

FuncType ReadFn

clients.go:35–35  ·  view source on GitHub ↗

ReadFn is the function signature for the function used for reading and processing new packets.

func(*Client, packets.Packet) error

Source from the content-addressed store, hash-verified

33
34// ReadFn is the function signature for the function used for reading and processing new packets.
35type ReadFn func(*Client, packets.Packet) error
36
37// Clients contains a map of the clients known by the broker.
38type Clients struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected