config

package
v0.0.0-...-7f9e108 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GlobalClients = NewGlobalClients()

GlobalClients 全局配置管理

Functions

func GetLogger

func GetLogger() *zap.Logger

func InitConfig

func InitConfig(storageDir string)

func InitLogger

func InitLogger(storageDir string)

func LoadConfig

func LoadConfig() error

LoadConfig 读取配置文件,加载配置

func NewGlobalClients

func NewGlobalClients() *globalClients

func SaveConfig

func SaveConfig(configs map[string]model.RedisService) error

SaveConfig 保存配置文件

Types

This section is empty.

Jump to

Keyboard shortcuts

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