Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CORSMiddleware ¶
func CORSMiddleware() gin.HandlerFunc
CORSMiddleware is a middleware to add cors headers
func ClientCheckMiddleware ¶
func ClientCheckMiddleware() gin.HandlerFunc
ClientCheckMiddleware is a middleware to verify the client ID Note: client ID is passed in the header
func GinContextToContextMiddleware ¶
func GinContextToContextMiddleware() gin.HandlerFunc
GinContextToContextMiddleware is a middleware to add gin context in context
func Logger ¶
func Logger(logger logrus.FieldLogger, notLogged ...string) gin.HandlerFunc
Logger is the logrus logger handler
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.