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.UserAppConfig
NewConfig godoc @Summary CONFIG-配置 @Description CONFIG-配置内容 @Tags user @Produce json @Success 200 {array} configstc.UserAppConfig @Router /-user-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 AdminAuthOption gin_http.AuthOption //auth相关选项配置 // contains filtered or unexported fields }
func NewApiServer ¶
func (*ApiServer) InitRouter ¶
func (s *ApiServer) InitRouter()
func (*ApiServer) InitRouterForGin ¶
type App ¶
type RpcServer ¶
type RpcServer struct {
// contains filtered or unexported fields
}
func NewRpcServer ¶
func (*RpcServer) RegisterService ¶
func (*RpcServer) RegisterServiceForGRpc ¶
func (*RpcServer) WithModule ¶
Click to show internal directories.
Click to hide internal directories.