Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContextTimeout ¶
func ContextTimeout(timeout time.Duration) gin.HandlerFunc
Types ¶
type GinMiddleware ¶
type GinMiddleware struct {
*tkit.GinApplication
}
func NewWithGin ¶
func NewWithGin(ginApp *tkit.GinApplication) *GinMiddleware
func (*GinMiddleware) AccessLog ¶
func (m *GinMiddleware) AccessLog() gin.HandlerFunc
func (*GinMiddleware) Register ¶
func (m *GinMiddleware) Register(engine *gin.Engine)
Click to show internal directories.
Click to hide internal directories.