finclip-app-manager/vendor/gitlab.finogeeks.club/finclip-backend/mop-middleware-auth/config/config.go

29 lines
355 B
Go
Raw Normal View History

2023-11-02 18:36:36 +08:00
package config
type Config struct {
ServerName string
ConsulAddr string
ConsulTag string
DebugLog bool
TraceLog bool
LogFile string
KafkaAddr string
OpenKafkaLog bool
LogTopic string
ExpireInterval int
ReqType string
}
var config Config
func GetConfig() Config {
return config
}
func SetConfig(c Config) {
config = c
}