Documentation ¶
Index ¶
- func Listen(addr string, handler http.Handler) error
- type Peer
- func (p *Peer) Close() error
- func (p *Peer) Do(req *http.Request) (resp *http.Response, err error)
- func (p *Peer) Get(url string) (resp *http.Response, err error)
- func (p *Peer) Head(url string) (resp *http.Response, err error)
- func (p *Peer) Post(url string, bodyType string, body io.Reader) (resp *http.Response, err error)
- func (p *Peer) PostForm(url string, data url.Values) (resp *http.Response, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.