Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpServiceEngine ¶
type HttpServiceEngine struct { ProjectName string Addr string Middlewares []gin.HandlerFunc Mode string RouterGroup map[string]RouterInjector VPath string *gin.Engine }
func (*HttpServiceEngine) Init ¶
func (hse *HttpServiceEngine) Init() *HttpServiceEngine
func (*HttpServiceEngine) InjectApiRouter ¶
func (hse *HttpServiceEngine) InjectApiRouter(root *gin.RouterGroup)
type RouterInjector ¶
type RouterInjector interface {
Inject(router *gin.RouterGroup)
}
Click to show internal directories.
Click to hide internal directories.