Documentation ¶
Index ¶
- type Middleware
- func LoggingRequest() Middleware
- func LoggingRequestWithLogger(l *logger.Logger, simply bool) Middleware
- func LoggingResponse() Middleware
- func LoggingResponseWithLogger(l *logger.Logger, simply bool) Middleware
- func LoggingSimplyRequest() Middleware
- func LoggingSimplyResponse() Middleware
- func Recovery() Middleware
- func RecoveryCustom(recover Middleware) Middleware
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Middleware ¶
type Middleware = gin.HandlerFunc
func LoggingRequest ¶
func LoggingRequest() Middleware
func LoggingRequestWithLogger ¶
func LoggingRequestWithLogger(l *logger.Logger, simply bool) Middleware
func LoggingResponse ¶
func LoggingResponse() Middleware
func LoggingResponseWithLogger ¶
func LoggingResponseWithLogger(l *logger.Logger, simply bool) Middleware
func LoggingSimplyRequest ¶
func LoggingSimplyRequest() Middleware
func LoggingSimplyResponse ¶
func LoggingSimplyResponse() Middleware
func RecoveryCustom ¶
func RecoveryCustom(recover Middleware) Middleware
Click to show internal directories.
Click to hide internal directories.