feat 优化网络库
This commit is contained in:
@@ -20,6 +20,7 @@ type Module interface {
|
||||
func (p *Program) Init(_ svc.Environment) error {
|
||||
p.moduleList = append(p.moduleList, &ModuleBase{})
|
||||
p.moduleList = append(p.moduleList, &ModuleWebsocket{})
|
||||
p.moduleList = append(p.moduleList, &ModulePprof{})
|
||||
|
||||
for _, module := range p.moduleList {
|
||||
if err := module.init(); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user