You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ngs/component/base.go

15 lines
203 B
Go

3 years ago
package component
var _ Component = (*Base)(nil)
// Base 空组件
type Base struct{}
func (*Base) Init() {}
func (*Base) AfterInit() {}
func (*Base) BeforeShutdown() {}
func (*Base) Shutdown() {}