liuhaijun e94826ce29 add server
Change-Id: I0760f17f6a01c0121b59fcbfafc666032dbc30af
2024-09-19 09:44:15 +00:00

16 lines
473 B
Go

package config
type AuthConfig struct {
Enable bool `ini:"enable" yaml:"enable" mapstructure:"enable"`
Url string `ini:"url" yaml:"url" mapstructure:"url"`
LoginInfo string `ini:"login_info" yaml:"login_info" mapstructure:"login_info"`
LoginWithCode string `ini:"login_with_code" yaml:"login_with_code" mapstructure:"login_with_code"`
}
var Auth = AuthConfig{
Enable: true,
Url: "",
LoginInfo: "",
LoginWithCode: "",
}