Documentation ¶
Index ¶
Constants ¶
View Source
const (
AppName = "gin_webframework"
)
Variables ¶
This section is empty.
Functions ¶
func RootRouter ¶
Types ¶
type GinFramework ¶
type GinFramework struct { ioc.ObjectImpl Engine *gin.Engine // 开启recovery恢复 Recovery bool `json:"recovery" yaml:"recovery" toml:"recovery" env:"RECOVERY"` // Gin模式 Mode string `toml:"mode" json:"mode" yaml:"mode" env:"Mode"` // 开启Trace Trace bool `toml:"trace" json:"trace" yaml:"trace" env:"TRACE"` // 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
Click to show internal directories.
Click to hide internal directories.