config

package
v0.2.0 Latest Latest
Warning

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

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

Documentation

Overview

Package config provides dynamic config via env vars, flags and config file

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConfig

func NewConfig(opts ...config.Option) config.Config

NewConfig returns new config for env vars, flags and config file. Config file is expected to be at the path ./config.json. For flag parsing to take effect service.Init must be called before creating new config.

Types

This section is empty.

Jump to

Keyboard shortcuts

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