Documentation ¶ Index ¶ Variables func Client() *resty.Client func Execute(request *resty.Request, method, url string, body interface{}, resp interface{}) error func GenRequestID(ctx context.Context) string func NewRequest(ctx context.Context) *resty.Request func ParseResponse(r *resty.Response, obj interface{}) error Constants ¶ This section is empty. Variables ¶ View Source var RequestIDKey = "X-Request-ID" RequestIDKey RequestIDKey Functions ¶ func Client ¶ func Client() *resty.Client Client Client func Execute ¶ func Execute(request *resty.Request, method, url string, body interface{}, resp interface{}) error Execute Execute func GenRequestID ¶ func GenRequestID(ctx context.Context) string GenRequestID GenRequestID func NewRequest ¶ func NewRequest(ctx context.Context) *resty.Request NewRequest NewRequest func ParseResponse ¶ func ParseResponse(r *resty.Response, obj interface{}) error ParseResponse ParseResponse Types ¶ This section is empty. Source Files ¶ View all Source files http.go Click to show internal directories. Click to hide internal directories.