Documentation ¶
Index ¶
Constants ¶
View Source
const ( SwaggerOpenAPIURLPrefix = "/swagger/" SwaggerRootPath = "api/assets/swagger" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { // config Config *config.Config // http server HTTPServer *http.Server // grpc server GRPCServer *grpc.Server // grpc gateway server GatewayServerMux *runtime.ServeMux // cmux CMux cmux.CMux // Router Router *mux.Router }
func (*Server) AddOpenapiHandler ¶
func (*Server) AddSwaggerHandler ¶
func (s *Server) AddSwaggerHandler()
func (*Server) InstallHubApis ¶
Click to show internal directories.
Click to hide internal directories.