config

package
v0.0.0-...-c0e0d3a Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Set

func Set(in interfaces.Configurator)

set will save the values in `in` in the global config

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

func GetConf

func GetConf() Config

func LoadConfig

func LoadConfig(filename string) (Config, error)

func (*Config) Load

func (c *Config) Load(filename string) error

func (Config) MID

func (c Config) MID() string

func (Config) Token

func (c Config) Token() string

Jump to

Keyboard shortcuts

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