加入网络层

This commit is contained in:
2025-06-26 23:57:54 +08:00
parent 53106465ed
commit 0f29dccec4
57 changed files with 1859 additions and 1274 deletions

16
Server/Gateway/app/web.go Normal file
View File

@@ -0,0 +1,16 @@
package app
import (
"gateway/config"
"gateway/net/http_gateway"
)
func (p *Program) initWebServer(cfg *config.Config) error {
p.webServer = http_gateway.InitRouter(cfg)
return nil
}
func (p *Program) stopWebServer() error {
return nil
}