config

package
v0.0.0-...-1fec092 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

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

Config ...

func New

func New() *Config

New returns a new Config instance

func (*Config) Get

func (c *Config) Get(key string) interface{}

Get returns a config by the key

func (*Config) Run

func (c *Config) Run()

Run processes the configs

func (*Config) Set

func (c *Config) Set(key string, config interface{})

Set sets a new config

Jump to

Keyboard shortcuts

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