swagger

package
v0.0.37 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 12, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetRouter

func SetRouter(router gin.IRouter) gin.IRouter

Types

type Controller

type Controller struct{}

func NewController

func NewController() *Controller

func (*Controller) Json

func (c *Controller) Json() gin.HandlerFunc

func (*Controller) UI

func (c *Controller) UI() gin.HandlerFunc

func (*Controller) Yaml

func (c *Controller) Yaml() gin.HandlerFunc

type IndexTemplateInfo

type IndexTemplateInfo struct {
	Name           string
	BaseUrl        string
	SwaggerJsonUrl string
}

func GetIndexTemplateInfo

func GetIndexTemplateInfo(webPath string) IndexTemplateInfo

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL