config

package
v0.0.0-...-22faead Latest Latest
Warning

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

Go to latest
Published: May 2, 2020 License: Apache-2.0 Imports: 5 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 {
	HttpAddress string         `yaml:"http_address"`
	GrpcAddress string         `yaml:"grpc_address"`
	KeyPath     string         `yaml:"key_path"`
	CertPath    string         `yaml:"cert_path"`
	IngestCfg   ingest.Config  `yaml:"ingest"`
	StorageCfg  storage.Config `yaml:"storage"`
}

func ParseConfig

func ParseConfig(filename string) (Config, error)

func (*Config) UnmarshalYAML

func (lr *Config) UnmarshalYAML(unmarshal func(interface{}) error) error

Jump to

Keyboard shortcuts

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