Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func NewHandler() *Handler
func (*Handler) GetApiDocJson ¶
GetApiDocJson godoc
@Id Swagger API specification in JSON
@Summary Swagger JSON
@Description Request for getting swagger specification in JSON
@Tags Swagger API
@Produce application/yaml
@Success 200 {object} string
@Router /swagger/api-docs.json [get]
func (*Handler) GetApiDocYaml ¶
GetApiDocYaml godoc
@Id Swagger API specification in YAML
@Summary Swagger YAML
@Description Request for getting swagger specification in YAML
@Tags Swagger API
@Produce application/yaml
@Success 200 {object} string
@Router /swagger/api-docs.yaml [get]
func (*Handler) GetUI ¶
GetUI godoc
@Id SwaggerUI
@Summary Swagger UI
@Description Request for getting swagger UI
@Tags Swagger API
@Produce text/html
@Success 200 {object} string
@Router /swagger/index.html [get]
func (*Handler) RegisterRoutes ¶
func (h *Handler) RegisterRoutes(router *gin.Engine, _ handler.RouteMiddlewares)
Click to show internal directories.
Click to hide internal directories.