config

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: BSD-3-Clause Imports: 7 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{}

func New

func New() *Config

func (*Config) ConfigFileExists

func (c *Config) ConfigFileExists() bool

func (*Config) ConfigValueIsSet

func (*Config) ConfigValueIsSet(key string) bool

func (*Config) GetConfigBoolValue

func (*Config) GetConfigBoolValue(key string) bool

func (*Config) GetConfigPath

func (*Config) GetConfigPath() string

func (*Config) GetConfigStringValue

func (*Config) GetConfigStringValue(key string) string

func (*Config) LoadNodeConfig

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

func (*Config) MergeConfig

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

func (*Config) SetConfig

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

func (*Config) SetConfigValue

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