Documentation ¶
Index ¶
- Variables
- func BuildSqlArgs(args ...interface{}) ([]interface{}, error)
- func GetConsulUrls() []string
- func GetMd5String(s string) string
- func InitDb() *gorp.DbMap
- func InitLog()
- func InitRedisPool() *redis.Pool
- func Random62String(size int) string
- func WriteErrorLog(path string, err error) bool
- type Address
Constants ¶
This section is empty.
Variables ¶
View Source
var ( SC = securecookie.New(hashKey, blockKey) ASYUSERID = "asy-user-id" ASYTOKEN = "asy-token" )
Functions ¶
func BuildSqlArgs ¶
func BuildSqlArgs(args ...interface{}) ([]interface{}, error)
func GetConsulUrls ¶
func GetConsulUrls() []string
func GetMd5String ¶
func InitRedisPool ¶
func Random62String ¶
func WriteErrorLog ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.