Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller interface {
RegisterRoute(engine *gin.RouterGroup)
}
type DefaultRouter ¶
type DefaultRouter struct {
// contains filtered or unexported fields
}
func (DefaultRouter) Init ¶
func (r DefaultRouter) Init(engine *gin.Engine)
func (*DefaultRouter) RegisterController ¶
func (r *DefaultRouter) RegisterController(c Controller)
type Router ¶
type Router interface { Init(engine *gin.Engine) RegisterController(c Controller) }
Click to show internal directories.
Click to hide internal directories.