cli

package
v0.0.0-...-50a54d8 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2023 License: MIT 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