cli

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2020 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConfig

func NewConfig(configPath string) (map[string]*config.AppConfig, *config.DefaultConfig)

NewConfig get configs from directory

func SyncConfig

func SyncConfig(dialTimeout time.Duration,
	requestTimeout time.Duration, configPath string) error

SyncConfig write changed config to etcd

Types

This section is empty.

Jump to

Keyboard shortcuts

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