config

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: BSD-3-Clause Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct{}

func New

func New() *Config

func (*Config) ConfigFileExists added in v1.3.4

func (c *Config) ConfigFileExists() bool

func (*Config) ConfigValueIsSet added in v1.3.4

func (*Config) ConfigValueIsSet(key string) bool

func (*Config) GetConfigBoolValue added in v1.3.4

func (*Config) GetConfigBoolValue(key string) bool

func (*Config) GetConfigPath added in v1.3.4

func (*Config) GetConfigPath() string

func (*Config) GetConfigStringValue added in v1.3.4

func (*Config) GetConfigStringValue(key string) string

func (*Config) LoadNodeConfig

func (*Config) LoadNodeConfig() (string, error)

func (*Config) MergeConfig added in v1.3.4

func (*Config) MergeConfig(log logging.Logger, s string)

func (*Config) SetConfig added in v1.3.4

func (*Config) SetConfig(log logging.Logger, s string)

func (*Config) SetConfigValue added in v1.3.4

func (*Config) SetConfigValue(key string, value interface{}) error

SetConfigValue sets the value of a configuration key.

Jump to

Keyboard shortcuts

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