swagger

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSwaggerFilesPaths added in v0.4.8

func GetSwaggerFilesPaths(fileSystem embed.FS, dirName string, prefix string) ([]string, error)

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

func New

func New(docsFS *embed.FS, docsRootFolder string) (*Server, error)

Function creates Open API server

func (*Server) GetMainPageHandler added in v0.5.0

func (s *Server) GetMainPageHandler() gin.HandlerFunc

func (*Server) GetPkgDocsHandler added in v0.5.0

func (s *Server) GetPkgDocsHandler() gin.HandlerFunc

func (*Server) GetUserDocsHandler added in v0.5.0

func (s *Server) GetUserDocsHandler() gin.HandlerFunc

Jump to

Keyboard shortcuts

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