uiamsdk

package
v0.7.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 4, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL