Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClientWithRoot ¶
type ClientWithRoot struct {
// contains filtered or unexported fields
}
func (ClientWithRoot) DoRequest ¶
func (c ClientWithRoot) DoRequest(ctx *Context) (err error)
type ContextPool ¶
type LogHandler ¶
type LogHandler struct{}
type Pools ¶
type Pools struct { Context ContextPool Bytes pool.OfBytes }
type PreHandler ¶
type PreHandler struct {
// contains filtered or unexported fields
}
func WithPreHandler ¶
func WithPreHandler(cl Client, pre ResponseHandler) (p PreHandler)
func (PreHandler) DoRequest ¶
func (p PreHandler) DoRequest(ctx *Context) (err error)
type RequestConfig ¶
type RequestConfig interface {
ModifyRequest(r *Request)
}
type ResponseHandler ¶
type ResponseHandlerFunc ¶
func (ResponseHandlerFunc) HandleResponse ¶
func (r ResponseHandlerFunc) HandleResponse(resp *Response) (err error)
Click to show internal directories.
Click to hide internal directories.