gin

package
v2.0.15 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AppName = "gin_webframework"
)

Variables

This section is empty.

Functions

func ObjectRouter

func ObjectRouter(obj ioc.Object) gin.IRouter

添加对象前缀路径

func RootRouter

func RootRouter() *gin.Engine

Types

type GinFramework

type GinFramework struct {
	ioc.ObjectImpl
	Engine *gin.Engine
	// contains filtered or unexported fields
}

func (*GinFramework) Init

func (g *GinFramework) Init() error

func (*GinFramework) Name

func (g *GinFramework) Name() string

func (*GinFramework) Priority

func (g *GinFramework) Priority() int

Jump to

Keyboard shortcuts

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