Documentation ¶
Index ¶
- Variables
- func AuthCode(str, operation, key string, expiry int64) string
- func Base64Decode(s string) string
- func Base64Encode(s string) string
- func ConnRedis()
- func InitConfig() *viper.Viper
- func LastTime(t int) (msg string)
- func MD5(str string) string
- func Sql()
- func WatchConf()
- type Base
- type Json
- type Validator
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Db *gorm.DB
)
View Source
var Redis redis.Conn
View Source
var Yaml *viper.Viper
Functions ¶
func Base64Encode ¶
func InitConfig ¶
Types ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.