Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRestyClient ¶
func NewRestyClient(restOption *client.RestOptions) client.RestClient
NewRestyClient a constructor of RestyClient
Types ¶
type RestyClient ¶
type RestyClient struct {
// contains filtered or unexported fields
}
RestyClient a rest client implement by Resty
func (*RestyClient) Do ¶
func (rc *RestyClient) Do(restRequest *client.RestClientRequest, res interface{}) error
Do send request by RestyClient
Click to show internal directories.
Click to hide internal directories.