internal

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2025 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMetrics added in v0.0.4

func NewMetrics(listen string, cache *mvfifo.Cache) *metrics

func NewServer

func NewServer(cfg Config) *server

Types

type Config

type Config = mercurelite.Config

type ConfigJWT added in v0.0.3

type ConfigJWT = mercurelite.ConfigJWT

type Hub

type Hub interface {
	Run(context.Context)
	Register(*connection)
	Unregister(*connection)
	Broadcast(*message)
	Connections() map[*connection]bool
}

Jump to

Keyboard shortcuts

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