Documentation ¶
Index ¶
- Constants
- 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 Now() string
- func RandomString(length int) string
- func SetCache(key string, value interface{}, timeout int) error
- func String2md5(str string) string
- type QQwry
Constants ¶
View Source
const ( INDEX_LEN = 7 REDIRECT_MODE_1 = 0x01 REDIRECT_MODE_2 = 0x02 )
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 ¶
Click to show internal directories.
Click to hide internal directories.