swagger

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct{}

func NewController

func NewController() *Controller

func (*Controller) Json

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

func (*Controller) SetRoutes added in v0.1.0

func (c *Controller) SetRoutes(ginRouter gin.IRouter, grpcRouter *grpc.Gateway)

SetRoutes registers this handler's routes.

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