Documentation
¶
Index ¶
- func RestyHTTPRequestAdapterResponse(target executorhttp.ResponseWriter, source *resty.Response, err error) error
- type RestyHTTPClientAdapter
- type RestyHTTPRequestAdapter
- func (r RestyHTTPRequestAdapter) Delete(target executorhttp.ResponseWriter, url string) error
- func (r RestyHTTPRequestAdapter) Get(target executorhttp.ResponseWriter, url string) error
- func (r RestyHTTPRequestAdapter) Patch(target executorhttp.ResponseWriter, url string) error
- func (r RestyHTTPRequestAdapter) Post(target executorhttp.ResponseWriter, url string) error
- func (r RestyHTTPRequestAdapter) Put(target executorhttp.ResponseWriter, url string) error
- func (r RestyHTTPRequestAdapter) SetBody(body any) executorhttp.Requester
- func (r RestyHTTPRequestAdapter) SetContext(ctx context.Context) executorhttp.Requester
- func (r RestyHTTPRequestAdapter) SetHeaders(headers map[string]string) executorhttp.Requester
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RestyHTTPRequestAdapterResponse ¶
func RestyHTTPRequestAdapterResponse(target executorhttp.ResponseWriter, source *resty.Response, err error) error
Types ¶
type RestyHTTPClientAdapter ¶
type RestyHTTPClientAdapter struct {
// contains filtered or unexported fields
}
func NewRestyHTTPClientAdapter ¶
func NewRestyHTTPClientAdapter() *RestyHTTPClientAdapter
func (*RestyHTTPClientAdapter) Request ¶
func (r *RestyHTTPClientAdapter) Request() executorhttp.Requester
type RestyHTTPRequestAdapter ¶
type RestyHTTPRequestAdapter struct {
// contains filtered or unexported fields
}
func (RestyHTTPRequestAdapter) Delete ¶
func (r RestyHTTPRequestAdapter) Delete(target executorhttp.ResponseWriter, url string) error
func (RestyHTTPRequestAdapter) Get ¶
func (r RestyHTTPRequestAdapter) Get(target executorhttp.ResponseWriter, url string) error
func (RestyHTTPRequestAdapter) Patch ¶
func (r RestyHTTPRequestAdapter) Patch(target executorhttp.ResponseWriter, url string) error
func (RestyHTTPRequestAdapter) Post ¶
func (r RestyHTTPRequestAdapter) Post(target executorhttp.ResponseWriter, url string) error
func (RestyHTTPRequestAdapter) Put ¶
func (r RestyHTTPRequestAdapter) Put(target executorhttp.ResponseWriter, url string) error
func (RestyHTTPRequestAdapter) SetBody ¶
func (r RestyHTTPRequestAdapter) SetBody(body any) executorhttp.Requester
func (RestyHTTPRequestAdapter) SetContext ¶
func (r RestyHTTPRequestAdapter) SetContext(ctx context.Context) executorhttp.Requester
func (RestyHTTPRequestAdapter) SetHeaders ¶
func (r RestyHTTPRequestAdapter) SetHeaders(headers map[string]string) executorhttp.Requester
Click to show internal directories.
Click to hide internal directories.