Documentation ¶
Index ¶
Constants ¶
View Source
const ( Auto = iota FAST STANDARD )
Variables ¶
View Source
var (
DefaultMaxBodySize = 1024 * 100 // 100k
)
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Config *ClientConfig // contains filtered or unexported fields }
func NewClient ¶
func NewClient(config *ClientConfig) *Client
func (*Client) StandardDo ¶
func (*Client) TransToCheck ¶
func (c *Client) TransToCheck()
type ClientConfig ¶
type Request ¶
func (*Request) SetHeaders ¶
type Response ¶
type Response struct { StandardResponse *http.Response FastResponse *fasthttp.Response ClientType int }
func (*Response) ContentLength ¶
func (*Response) ContentType ¶
func (*Response) StatusCode ¶
Click to show internal directories.
Click to hide internal directories.