Documentation ¶
Index ¶
- func Decode(data []byte, to interface{}) error
- func DelCache(key string) error
- func Encode(data interface{}) ([]byte, error)
- func GetCache(key string, to interface{}) error
- func InitCache()
- func InitLogs()
- func LogAlert(v interface{})
- func LogCritical(v interface{})
- func LogDebug(v interface{})
- func LogEmergency(v interface{})
- func LogError(v interface{})
- func LogInfo(v interface{})
- func LogNotice(v interface{})
- func LogTrace(v interface{})
- func LogWarning(v interface{})
- func RandomString(length int) string
- func SetCache(key string, value interface{}, timeout int) error
- func String2md5(str string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LogCritical ¶
func LogCritical(v interface{})
func LogEmergency ¶
func LogEmergency(v interface{})
func LogWarning ¶
func LogWarning(v interface{})
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.