Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiRouter ¶
type ApiRouter struct {
// contains filtered or unexported fields
}
func NewApiRouter ¶
func (*ApiRouter) AttachRoutes ¶
func (ar *ApiRouter) AttachRoutes()
@produce json @success 200 {string} string "{"message": "pong"}" @router /api/ping [get]
type SwaggerRouter ¶
type SwaggerRouter struct {
// contains filtered or unexported fields
}
func NewSwaggerRouter ¶
func NewSwaggerRouter(router *gin.Engine) *SwaggerRouter
func (*SwaggerRouter) AttachRoutes ¶
func (sr *SwaggerRouter) AttachRoutes()
type [http://localhost:8080/swagger/index.html] in browser to watch the swagger api doc
Click to show internal directories.
Click to hide internal directories.