Documentation
¶
Index ¶
- Variables
- func ResponseError(resp *http.Response) (err error)
- type Client
- func (r Client) Call(ctx context.Context, ret interface{}, method, url1 string) (err error)
- func (r Client) CallWithJson(ctx context.Context, ret interface{}, method, url1 string, param interface{}) (err error)
- func (r Client) DoRequestWithJson(ctx context.Context, method, url1 string, data interface{}) (resp *http.Response, err error)
- type ErrorInfo
Constants ¶
This section is empty.
Variables ¶
View Source
var UserAgent = "KodeRover Client"
Functions ¶
func ResponseError ¶
Types ¶
type Client ¶
TODO: lou: implement a complete http client.
func (Client) CallWithJson ¶
Click to show internal directories.
Click to hide internal directories.