config

package
v0.0.0-...-a727cec Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2023 License: BSD-2-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Global = &Config{
	Apps:     make(map[string]string),
	LogColor: 0,
}

Functions

This section is empty.

Types

type Config

type Config struct {
	ValidDomains []string
	Apps         map[string]string
	LogLevel     logger.LogLevel
	LogColor     int
	Addr         net.Addr
}

func ParseConfig

func ParseConfig() *Config

func (*Config) String

func (c *Config) String() string

Jump to

Keyboard shortcuts

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