Documentation
¶
Index ¶
- type HttpDo
- func (h *HttpDo) CONNECT() *HttpDo
- func (h *HttpDo) DELETE() *HttpDo
- func (h *HttpDo) Err() error
- func (h *HttpDo) GET() *HttpDo
- func (h *HttpDo) HEAD() *HttpDo
- func (h *HttpDo) MarshalJSON(v any) *HttpDo
- func (h *HttpDo) MarshalXML(v any) *HttpDo
- func (h *HttpDo) Method(method string) *HttpDo
- func (h *HttpDo) OPTIONS() *HttpDo
- func (h *HttpDo) PATCH() *HttpDo
- func (h *HttpDo) POST() *HttpDo
- func (h *HttpDo) PUT() *HttpDo
- func (h *HttpDo) Run() *HttpDo
- func (h *HttpDo) TRACE() *HttpDo
- func (h *HttpDo) UnmarshalJSONResponse(v any) error
- func (h *HttpDo) UnmarshalXMLResponse(v any) (any, error)
- func (h *HttpDo) Url(url string) *HttpDo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpDo ¶
type HttpDo struct {
StatusCode int
ResponseBody io.ReadCloser
// contains filtered or unexported fields
}
func (*HttpDo) MarshalJSON ¶
func (*HttpDo) MarshalXML ¶
func (*HttpDo) UnmarshalJSONResponse ¶
Click to show internal directories.
Click to hide internal directories.