Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoggerMiddleware ¶
type LoggerMiddleware struct {
// contains filtered or unexported fields
}
func NewLoggerMiddleware ¶
func NewLoggerMiddleware() (loggerM *LoggerMiddleware)
type Middleware ¶
type MiddlewareStack ¶
type MiddlewareStack struct {
// contains filtered or unexported fields
}
func NewMiddlewareStack ¶
func NewMiddlewareStack(db *models.DB) (ms *MiddlewareStack)
func (*MiddlewareStack) Add ¶
func (ms *MiddlewareStack) Add(middleware Middleware)
func (*MiddlewareStack) Exec ¶
func (ms *MiddlewareStack) Exec(ctx context.Context, c *gin.Context, handler api.ApiHandlerFunc) (err error)
type Tracker ¶
type Tracker struct {
// contains filtered or unexported fields
}
func NewTracker ¶
func NewTracker(ms *MiddlewareStack, req *api.Request, resp *api.Response, handler api.ApiHandlerFunc) (tr *Tracker)
Click to show internal directories.
Click to hide internal directories.