Documentation ¶
Overview ¶
@externalDocs.description OpenAPI @externalDocs.url https://swagger.io/resources/open-api/
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConfig ¶
func NewConfig() *configstc.AdminAppConfig
NewConfig godoc @Summary CONFIG-配置 @Description CONFIG-配置内容 @Tags admin @Produce json @Success 200 {array} configstc.AdminAppConfig @Router /-admin-config [post]
Types ¶
type ApiServer ¶
type ApiServer struct { *apps.ApiServer gin_http.AuthOption //auth相关选项配置 gin_http.SwaggerOption //swagger相关选项配置 gin_http.PProfOption //pprof选项配置 gin_http.OperateLogOption //操作日志 gin_http.AuthExtendInfoOption //认证扩展信息选项配置 // contains filtered or unexported fields }
func NewApiServer ¶
func (*ApiServer) InitRouter ¶
func (s *ApiServer) InitRouter()
func (*ApiServer) InitRouterForGin ¶
Click to show internal directories.
Click to hide internal directories.