config

package
v3.0.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultListenAddress = "tcp://:53431"

Variables

Functions

This section is empty.

Types

type HoardConfig

type HoardConfig struct {
	ListenAddress string
	Storage       *storage.StorageConfig
	Logging       *logging.LoggingConfig
	Secrets       *secrets.SecretsConfig
}

func HoardConfigFromJSONString added in v0.1.0

func HoardConfigFromJSONString(jsonString string) (*HoardConfig, error)

func HoardConfigFromTOMLString added in v0.1.0

func HoardConfigFromTOMLString(tomlString string) (*HoardConfig, error)

func HoardConfigFromYAMLString

func HoardConfigFromYAMLString(yamlString string) (*HoardConfig, error)

func NewHoardConfig

func NewHoardConfig(listenAddress string, storageConfig *storage.StorageConfig,
	loggingConfig *logging.LoggingConfig) *HoardConfig

func (*HoardConfig) JSONString added in v0.1.0

func (hoardConfig *HoardConfig) JSONString() string

func (*HoardConfig) TOMLString

func (hoardConfig *HoardConfig) TOMLString() string

func (*HoardConfig) YAMLString

func (hoardConfig *HoardConfig) YAMLString() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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