Documentation
      ¶
    
    
  
    
  
    Index ¶
- Variables
 - func ResponseError(resp *http.Response) (err error)
 - type Client
 - func (r Client) Call(l Logger, ret interface{}, url1 string) (err error)
 - func (r Client) CallWith(l Logger, ret interface{}, url1 string, bodyType string, body io.Reader, ...) (err error)
 - func (r Client) CallWith64(l Logger, ret interface{}, url1 string, bodyType string, body io.Reader, ...) (err error)
 - func (r Client) CallWithForm(l Logger, ret interface{}, url1 string, param map[string][]string) (err error)
 - func (r Client) CallWithJson(l Logger, ret interface{}, url1 string, param interface{}) (err error)
 - func (r Client) Do(l Logger, req *http.Request) (resp *http.Response, err error)
 - func (r Client) Get(l Logger, url string) (resp *http.Response, err error)
 - func (r Client) PostWith(l Logger, url1 string, bodyType string, body io.Reader, bodyLength int) (resp *http.Response, err error)
 - func (r Client) PostWith64(l Logger, url1 string, bodyType string, body io.Reader, bodyLength int64) (resp *http.Response, err error)
 - func (r Client) PostWithForm(l Logger, url1 string, data map[string][]string) (resp *http.Response, err error)
 - func (r Client) PostWithJson(l Logger, url1 string, data interface{}) (resp *http.Response, err error)
 
- type ErrorInfo
 - type Logger
 
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  
    var DefaultClient = Client{http.DefaultClient, ""}
    
      View Source
      
  
var UserAgent = "Golang qiniu/rpc package"
    Functions ¶
func ResponseError ¶
Types ¶
type Client ¶
func NewClientEx ¶
func NewClientEx(t http.RoundTripper, bindRemoteIp string) Client
func (Client) CallWith64 ¶
func (Client) CallWithForm ¶
func (Client) CallWithJson ¶
func (Client) PostWith64 ¶
func (Client) PostWithForm ¶
 Click to show internal directories. 
   Click to hide internal directories. 

