Documentation ¶
Index ¶
- type HttpRequest
- func (hr HttpRequest) GetHeader(name string) ([]string, bool)
- func (hr HttpRequest) GetHost() string
- func (hr HttpRequest) ReqBody() io.Reader
- func (hr HttpRequest) ReqMethod() string
- func (hr HttpRequest) ReqURL() *url.URL
- func (hr HttpRequest) SetHeader(name, value string)
- func (hr HttpRequest) SetReqBody(r io.ReadCloser)
- type Signable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpRequest ¶
func (HttpRequest) GetHost ¶
func (hr HttpRequest) GetHost() string
func (HttpRequest) ReqBody ¶
func (hr HttpRequest) ReqBody() io.Reader
func (HttpRequest) ReqMethod ¶
func (hr HttpRequest) ReqMethod() string
func (HttpRequest) ReqURL ¶
func (hr HttpRequest) ReqURL() *url.URL
func (HttpRequest) SetHeader ¶
func (hr HttpRequest) SetHeader(name, value string)
func (HttpRequest) SetReqBody ¶
func (hr HttpRequest) SetReqBody(r io.ReadCloser)
Click to show internal directories.
Click to hide internal directories.