Documentation ¶
Overview ¶
有关Http协议GET和POST请求的封装
Index ¶
- Variables
- func CheckErr(err error)
- func Get(url string) (response string)
- func GetName(params ...interface{}) string
- func Post(url string, data interface{}, contentType string) (content string)
- func RDSTools_Get(k string) interface{}
- func RDSTools_HGet(k, f string) interface{}
- func RDSTools_HGetAll(f string) interface{}
- func RDSTools_HSet(k, f string, v string)
- func RDSTools_HSetEx(k, f string, v string, ttl int64)
- func RDSTools_Set(k string, v string)
- func RDSTools_SetEx(k string, v string, ttl int64)
- func Strval(value interface{}) string
Constants ¶
This section is empty.
Variables ¶
View Source
var RDSTools redistools.RedisDataStore
Functions ¶
func RDSTools_Get ¶
func RDSTools_Get(k string) interface{}
func RDSTools_HGet ¶
func RDSTools_HGet(k, f string) interface{}
func RDSTools_HGetAll ¶
func RDSTools_HGetAll(f string) interface{}
func RDSTools_HSet ¶
func RDSTools_HSetEx ¶
func RDSTools_Set ¶
func RDSTools_SetEx ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.