Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Configurators map[string]Configurator
Configurators is a map of Configurator functions.
View Source
var EngineFactories map[string]EngineFactory
EngineFactories is a map where engine name matches EngineFactory.
View Source
var Metrics *metrics.Registry
Metrics is pointer to registry to keep Centrifugo metrics.
Functions ¶
func RegisterConfigurator ¶
func RegisterConfigurator(name string, fn Configurator)
RegisterConfigurator allows to register custom configure function.
func RegisterEngine ¶
func RegisterEngine(name string, fn EngineFactory)
RegisterEngine allows to register custom Engine implementation.
Types ¶
type Configurator ¶
Configurator is a function that can set default option values, flags, ENV vars.
Click to show internal directories.
Click to hide internal directories.