Categorygithub.com/iDigitalFlame/scorebot-mux
modulepackage
0.0.0-20241110223701-075a98aa3212
Repository: https://github.com/idigitalflame/scorebot-mux.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

Defaults returns a JSON string representation of the default config.
Load attempts to create a load a config file from the specified path.
New creates and returns a new Mux instance from the specified config.

# Constants

DefaultListen is the default listening address for the Mux.
DefaultTimeout is the default Mux connection timeout.

# Variables

ErrInvalidConfig is returned by the 'Start' function when the config is missing or is not valid during startup.
ErrInvalidTimeout is returned if the specified timeout value is less than zero.

# Structs

Config is a struct that contains the configuration options needed to start a Mux struct.
Database represents the SQL Backend data provider.
Mux is a struct that represents a Muxer that can split and log traffic between two or more endpoints.
Secondary is a struct that holds secondary Proxy info.