Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAuthorization ¶
func NewAuthorization(serverToken string, notsecured ...string) gin.HandlerFunc
Creates authorization middleware for API auhtorization
func NewLogger ¶
func NewLogger(log *logging.Logger, notlogged ...string) gin.HandlerFunc
Create a Logger middleware for gin
func NewRecovery ¶
func NewRecovery(log *logging.Logger) gin.HandlerFunc
Creates a Recovery middlware, in case of a fatal error returns 500
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.