package
0.0.0-20231006003153-bed19f803614
Repository: https://github.com/peergoim/signaling-server.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

No description provided by the author
Logger instances a Logger middleware that will write the logs to gin.DefaultWriter.
LoggerWithConfig instance a Logger middleware with config.
No description provided by the author
RecoveryWithWriter returns a middleware for a given writer that recovers from any panics and writes a 500 if there was one.
No description provided by the author

# Variables

DefaultErrorWriter is the default io.Writer used by Gin to debug errors.

# Structs

LogFormatterParams is the structure any formatter will be handed when time to log comes.
LoggerConfig defines the config for Logger middleware.

# Type aliases

LogFormatter gives the signature of the formatter function passed to LoggerWithFormatter.