Documentation ¶
Index ¶
- Variables
- func GetConfig() *ozzo.Config
- func ParseConfig(args ParamLike)
- func ParseConfigEx(args ParamLike) map[string]interface{}
- func ReadYamlFile(filename string) map[string]interface{}
- func SetRabbitServer()
- type MapConfig
- type OzzConfig
- func (*OzzConfig) GetAccessKeySecret() string
- func (*OzzConfig) GetCanvasUrl() string
- func (*OzzConfig) GetCentralHost() string
- func (*OzzConfig) GetConfig() *ozzoConfig.Config
- func (*OzzConfig) GetCryptoOption() bool
- func (*OzzConfig) GetDBAuthUrl() string
- func (*OzzConfig) GetDBResourceUrl() string
- func (*OzzConfig) GetDialect() string
- func (*OzzConfig) GetForgetUrl() string
- func (*OzzConfig) GetHookServerHost() string
- func (*OzzConfig) GetOssAccessKeyId() string
- func (*OzzConfig) GetOssEntPoint() string
- func (*OzzConfig) GetRPCUrl() string
- func (*OzzConfig) GetSMTPHost() string
- func (*OzzConfig) GetSMTPPassword() string
- func (*OzzConfig) GetSMTPPort() int
- func (*OzzConfig) GetSMTPUsername() string
- func (*OzzConfig) GetServerBindPort(projectName string) string
- func (*OzzConfig) GetSmtpHost() string
- func (*OzzConfig) GetSubHookServerHost(queryPath string) string
- func (*OzzConfig) GetTokenHour() int64
- func (*OzzConfig) GetValidationHost() string
- func (*OzzConfig) IsProduction() bool
- type ParamLike
Constants ¶
This section is empty.
Variables ¶
View Source
var AliOssConfig []string
View Source
var CanvasUrl string
View Source
var CheckPermissionCodeServerStateMap = sync.Map{}
View Source
var CheckServerStateMap = map[string]bool{}
View Source
var ConfigParam = ozzo.New()
View Source
var Configuration map[string]interface{}
View Source
var ConnectSocketInfo = sync.Map{}
View Source
var DataLog *logrus.Logger
View Source
var DefaultPageSize = strconv.Itoa(10)
View Source
var Log *logrus.Logger
View Source
var LogDebug *logrus.Logger
View Source
var LogHttp *logrus.Logger
View Source
var LogInfo *logrus.Logger
View Source
var LogKey *logrus.Logger
View Source
var LogRpc *logrus.Logger
View Source
var ManualLog *logrus.Logger
View Source
var RabbitServerUrl string
View Source
var ServerBootStrapId = uuid.Must(uuid.NewV4())
View Source
var SqlLog *logrus.Logger
View Source
var XOrmLog *log.SqlLogger
Functions ¶
func ParseConfig ¶
func ParseConfig(args ParamLike)
func ParseConfigEx ¶
func ReadYamlFile ¶
func SetRabbitServer ¶
func SetRabbitServer()
Types ¶
type OzzConfig ¶
type OzzConfig struct{}
var OzConfig OzzConfig
func (*OzzConfig) GetAccessKeySecret ¶
func (*OzzConfig) GetCanvasUrl ¶
func (*OzzConfig) GetCentralHost ¶
func (*OzzConfig) GetConfig ¶
func (*OzzConfig) GetConfig() *ozzoConfig.Config
func (*OzzConfig) GetCryptoOption ¶
func (*OzzConfig) GetDBAuthUrl ¶
func (*OzzConfig) GetDBResourceUrl ¶
func (*OzzConfig) GetDialect ¶
func (*OzzConfig) GetForgetUrl ¶
func (*OzzConfig) GetHookServerHost ¶
func (*OzzConfig) GetOssAccessKeyId ¶
func (*OzzConfig) GetOssEntPoint ¶
func (*OzzConfig) GetSMTPHost ¶
func (*OzzConfig) GetSMTPPassword ¶
func (*OzzConfig) GetSMTPPort ¶
func (*OzzConfig) GetSMTPUsername ¶
func (*OzzConfig) GetServerBindPort ¶
func (*OzzConfig) GetSmtpHost ¶
func (*OzzConfig) GetSubHookServerHost ¶
func (*OzzConfig) GetTokenHour ¶
func (*OzzConfig) GetValidationHost ¶
func (*OzzConfig) IsProduction ¶
Click to show internal directories.
Click to hide internal directories.