Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config interface { Get(key string) interface{} GetInt(key string) int GetBool(key string) bool GetInt32(key string) int32 GetInt64(key string) int64 GetString(key string) string GetFloat64(key string) float64 GetStringSlice(key string) []string UnmarshalKey(key string, rawVal interface{}) error SetDefaultValue(defaultValue map[string]interface{}) }
type Logger ¶
type Logger interface { New() Logger Name(name string) Logger ZapLogger() *zap.Logger // INFO Info日志打印 INFO(str string, values ...interface{}) // WARN Warn日志打印 WARN(str string, values ...interface{}) // ERROR Error日志打印 ERROR(str string, values ...interface{}) // DEBUG Debug日志打印 DEBUG(str string, values ...interface{}) }
Click to show internal directories.
Click to hide internal directories.