constants

package
v0.0.0-...-4d127bd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 3, 2024 License: MIT Imports: 0 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL