Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// Inject 依赖注入
Inject *inject
)
Functions ¶
Types ¶
type HttpApi ¶
var (
Api *HttpApi
)
func (*HttpApi) AddService ¶
func (this *HttpApi) AddService(serviceName string, apiType string, version string, mws ...gin.HandlerFunc) *gin.RouterGroup
AddService 暴露给服务
Click to show internal directories.
Click to hide internal directories.