Documentation ¶
Index ¶
- type OwlcacheHttpclient
- func (ohc *OwlcacheHttpclient) ClearSuperAgent()
- func (ohc *OwlcacheHttpclient) Delete(addr, key, token string) (*Response, []error)
- func (ohc *OwlcacheHttpclient) Exists(addr, key string) (*Response, []error)
- func (ohc *OwlcacheHttpclient) Expire(addr, key, exptime, token string) (*Response, []error)
- func (ohc *OwlcacheHttpclient) Get(addr, key string) (*Response, []error)
- func (ohc *OwlcacheHttpclient) Group_Get(addr, key, valuedata string) (*Response, []error)
- func (ohc *OwlcacheHttpclient) Pass(addr, pass string) (*Response, []error)
- func (ohc *OwlcacheHttpclient) Ping(addr, valuedata string) (*Response, []error)
- func (ohc *OwlcacheHttpclient) Set(addr, key, valuedata, exptime, token string) (*Response, []error)
- func (ohc *OwlcacheHttpclient) Timeout(owlcache_http_request_timeout time.Duration)
- type Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OwlcacheHttpclient ¶
type OwlcacheHttpclient struct {
// contains filtered or unexported fields
}
定义OwlcacheHttpclient
func (*OwlcacheHttpclient) Delete ¶
func (ohc *OwlcacheHttpclient) Delete(addr, key, token string) (*Response, []error)
func (*OwlcacheHttpclient) Exists ¶
func (ohc *OwlcacheHttpclient) Exists(addr, key string) (*Response, []error)
func (*OwlcacheHttpclient) Expire ¶
func (ohc *OwlcacheHttpclient) Expire(addr, key, exptime, token string) (*Response, []error)
func (*OwlcacheHttpclient) Get ¶
func (ohc *OwlcacheHttpclient) Get(addr, key string) (*Response, []error)
func (*OwlcacheHttpclient) Group_Get ¶
func (ohc *OwlcacheHttpclient) Group_Get(addr, key, valuedata string) (*Response, []error)
func (*OwlcacheHttpclient) Pass ¶
func (ohc *OwlcacheHttpclient) Pass(addr, pass string) (*Response, []error)
func (*OwlcacheHttpclient) Ping ¶
func (ohc *OwlcacheHttpclient) Ping(addr, valuedata string) (*Response, []error)
func (*OwlcacheHttpclient) Set ¶
func (ohc *OwlcacheHttpclient) Set(addr, key, valuedata, exptime, token string) (*Response, []error)
func (*OwlcacheHttpclient) Timeout ¶
func (ohc *OwlcacheHttpclient) Timeout(owlcache_http_request_timeout time.Duration)
设置超时
type Response ¶
func (*Response) DownLoadFile ¶
Response body save as a file
func (*Response) JsonUnmarshal ¶
Json.Unmarshal ResponseBody
Click to show internal directories.
Click to hide internal directories.