package
1.23.1
Repository: https://github.com/axllent/mailpit.git
Documentation: pkg.go.dev

# Functions

Broadcast will spawn a broadcast message to all connected clients.
BroadCastClientError is a wrapper to broadcast client errors to the web UI.
NewHub returns a new hub configuration.
ServeWs handles websocket requests from the peer.

# Variables

MessageHub global.

# Structs

Client is a middleman between the websocket connection and the hub.
Hub maintains the set of active clients and broadcasts messages to the clients.
WebsocketNotification struct for responses.