Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertHandlers ¶
func ConvertHandlers(handlers []HandlerFunc) (ginHandlers []gin.HandlerFunc)
Types ¶
type Context ¶
type Context interface { // http context context.HttpContextor GinContext() *gin.Context SetAuthClaim(claims *jwt.UserClaims) //@todo move into a new interface SetIUserModel(iUser auth.IUser) //@todo move into a new interface auth.Context auth.RequestIUser }
type Engine ¶
func (*Engine) Hash ¶
func (e *Engine) Hash() EngineHash
func (*Engine) Use ¶
func (e *Engine) Use(handlers ...HandlerFunc)
func (*Engine) UseGin ¶
func (e *Engine) UseGin(handlerFunc ...gin.HandlerFunc)
type EngineHash ¶
type EngineHash = string
type HandlerFunc ¶
type HandlerFunc func(Context)
Click to show internal directories.
Click to hide internal directories.