Documentation ¶
Index ¶
Constants ¶
View Source
const ( // GZipLevel defines the compression level for Gzip middleware. // The level ranges from 1 (best speed) to 9 (best compression). // A value of 5 provides a balance between compression speed and effectiveness. GZipLevel = 5 // BodyLimit sets the maximum size of the incoming request body. // The "2M" value means the request body is limited to 2 megabytes. BodyLimit = "2M" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.