package
Version:
v0.2.3
Opens a new window with list of versions in this module.
Published: Jun 1, 2025
License: Apache-2.0
Opens a new window with license information.
Imports: 30
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func NewServer(cfg Config) *server
type Config = mercurelite.Config
type ConfigJWT = mercurelite.ConfigJWT
type Hub interface {
Run(context.Context)
Register(*connection)
Unregister(*connection)
Broadcast(*message)
Connections() map[*connection]bool
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.