server

package
v0.0.0-...-054b70b Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2021 License: GPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(version string, printVersion, printRouter *bool)

Types

type PathName

type PathName struct {
	Name   string
	Path   string
	Method string
}

type Server

type Server struct {
	App       *iris.Application
	AssetFile http.FileSystem
}

func NewServer

func NewServer(assetFile http.FileSystem) *Server

func (*Server) GetRoutes

func (s *Server) GetRoutes() []*model.Permission

获取路由信息

func (*Server) Serve

func (s *Server) Serve() error

Jump to

Keyboard shortcuts

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