Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorHandler ¶
func InitRouter ¶
func StructuredLogger ¶
func StructuredLogger() gin.HandlerFunc
StructuredLogger logs a gin HTTP request in JSON format. Allows to set the logger for testing purposes.
Types ¶
type HttpResponse ¶
Click to show internal directories.
Click to hide internal directories.