cfg

package
v0.0.0-...-baa17e1 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitConsul

func InitConsul(consulAddr, consulKey string)

func InitFile

func InitFile(binary, cfgFile string)

Types

type Config

type Config struct {
	Log       logging `mapstructure:"logging" yaml:"logging"`
	Player    player
	TCPServer tcpServer `mapstructure:"tcp" yaml:"tcp"`
	Consumers consumers
}

func Load

func Load() (*Config, error)

Jump to

Keyboard shortcuts

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