Documentation ¶
Index ¶
- type HttpError
- type Response
- type Session
- func (session *Session) Delete(url string, headers map[string]string) (*Response, error)
- func (session *Session) Get(url string, query map[string]string, headers map[string]string) (*Response, error)
- func (session *Session) Post(url string, body []byte, headers map[string]string) (*Response, error)
- func (session *Session) Put(url string, body []byte, headers map[string]string) (*Response, error)
- func (session *Session) Request(req *http.Request, headers map[string]string) (*Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Response ¶
func (*Response) BodyString ¶
func (*Response) BodyUnmarshal ¶
func (*Response) JudgeStatus ¶
Click to show internal directories.
Click to hide internal directories.