Documentation ¶
Index ¶
- type Caller
- func (s *Caller) Client() *HttpRequest
- func (s *Caller) Delete(path string, inputValue interface{}, outputRef interface{}) ([]byte, *httpclient.Response, error)
- func (s *Caller) Get(path string, inputValue interface{}, outputRef interface{}) ([]byte, *httpclient.Response, error)
- func (s *Caller) Patch(path string, inputValue interface{}, outputRef interface{}) ([]byte, *httpclient.Response, error)
- func (s *Caller) Post(path string, inputValue interface{}, outputRef interface{}) ([]byte, *httpclient.Response, error)
- func (s *Caller) PostForm(path string, inputValue interface{}, outputRef interface{}) ([]byte, *httpclient.Response, error)
- func (s *Caller) Put(path string, inputValue interface{}, outputRef interface{}) ([]byte, *httpclient.Response, error)
- func (s *Caller) SetBearer(bearer string)
- type HttpRequest
- type PostFile
- type Resty
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Caller ¶
type Caller struct {
// contains filtered or unexported fields
}
func (*Caller) Client ¶
func (s *Caller) Client() *HttpRequest
type HttpRequest ¶
type HttpRequest struct { *httpclient.HttpClient // contains filtered or unexported fields }
func NewHttpRequest ¶
func NewHttpRequest(headers, cookies map[string]string, options map[int]interface{}) *HttpRequest
func (*HttpRequest) GetJsoniter ¶
func (s *HttpRequest) GetJsoniter() jsoniter.API
Click to show internal directories.
Click to hide internal directories.