package
0.0.0-20240717211507-c600c60f8228
Repository: https://github.com/gandarez/video-game-api.git
Documentation: pkg.go.dev
# Functions
LivenessRoute checks if the service is alive.
New creates a new server with default configuration.
NewWithConfig creates a new server with given configuration.
ReadinessRoute checks if the service and its dependencies are healthy.
WithDecompress decompresses request body based if content encoding type is set to "gzip" with default config.
WithGzip compresses HTTP response using gzip compression scheme.
WithRecover recovers from panic.
# Constants
DefaultIdleTimeout is the default idle timeout used for http server.
DefaultMaxHeaderBytes is the default max header used for http server.
DefaultReadTimeout is the default read timeout used for http server.
DefaultWriteTimeout is the default write timeout used for http server.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
Option is a functional option for Server.