Categorygithub.com/csigo/config
modulepackage
0.0.0-20200313083440-4c14a5ac6695
Repository: https://github.com/csigo/config.git
Documentation: pkg.go.dev

# README

config

Golang process config synchronization using etcd

# Packages

No description provided by the author
No description provided by the author

# Functions

NewClient return a new Client with option funtions.
NewFileConfig return filepath instance for local repo.
NewMemConfig creates a memory mapped config.
Stat sets counter client.

# Constants

PkgName is for creating module counter.

# Structs

CommitInfo contains git commit info.
ConfigInfo defines a configuration service information.
FileConfig is used to test config file in local.
MemConfig is a memroy mapped config client.
MockClient is the mock struct.
ModifiedFile contains a file and its modify operation.

# Interfaces

Client provides a interface for configuration service.