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恢复 EnableRecovery bool `json:"enable_recovery" yaml:"enable_recovery" toml:"enable_recovery" env:"ENABLE_RECOVERY"` // 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.