config

package
v0.0.0-...-d60b765 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2019 License: GPL-3.0 Imports: 4 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
}

func NewConfig

func NewConfig(path string) (Config, error)

func (*Config) GetProperty

func (config *Config) GetProperty(name, defaultValue string) string

func (*Config) HasProperty

func (config *Config) HasProperty(name string) bool

func (*Config) LoadProperties

func (config *Config) LoadProperties() error

func (*Config) SetProperty

func (config *Config) SetProperty(name string, value string)

type ConfigError

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

func (*ConfigError) Error

func (e *ConfigError) Error() string

Jump to

Keyboard shortcuts

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