Versions in this module Expand all Collapse all v1 v1.0.0 May 25, 2021 Changes in this version + var UserAgent = "KodeRover Client" + func ResponseError(resp *http.Response) (err error) + type Client struct + 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 struct + Code int + Err string + Errno int + Key string + func (r *ErrorInfo) Error() string + func (r *ErrorInfo) ErrorDetail() string + func (r *ErrorInfo) HttpCode() int + func (r *ErrorInfo) RpcError() (code, errno int, key, err string) v1.0.0-rc.1 May 19, 2021