Documentation ¶
Index ¶
Constants ¶
View Source
const ( Auto = iota FAST STANDARD )
Variables ¶
View Source
var (
DefaultMaxBodySize int64 = 1024 * 100 // 100k
)
Functions ¶
func CheckBodySize ¶
Types ¶
type Client ¶
type Client struct { *ClientConfig // contains filtered or unexported fields }
func NewClient ¶
func NewClient(config *ClientConfig) *Client
func (*Client) TransToCheck ¶
func (c *Client) TransToCheck()
type ClientConfig ¶
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.