serverconf

package
v0.0.0-...-bf7a25e Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSysConf

func GetSysConf() *config.M

func InitConfig

func InitConfig() *config.M

func Initialize

func Initialize()

func LoadConfByLocalFile

func LoadConfByLocalFile(confFile string) *config.M

LoadConfByLocalFile 从本地文件加载配置

func LoadConfByNacos

func LoadConfByNacos(confFile string) *config.M

LoadConfByNacos 从Nacos配置中心加载配置 https://github.com/nacos-group/nacos-sdk-go

func LoadConfigByConfSource

func LoadConfigByConfSource() *config.M

LoadConfigByConfSource 根据选择的方式加载配置文件

Types

This section is empty.

Jump to

Keyboard shortcuts

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