youtu_ecpm/server/ecpm.go

20 lines
267 B
Go
Raw Normal View History

2025-01-14 13:09:25 +08:00
package server
import (
ecpmhttpserver "youtu_ecpm/api/gin"
)
type EcpmApp struct {
httpserver *ecpmhttpserver.HttpServer
}
func (s *EcpmApp) Run() {
s.httpserver.Run()
}
func NewEcpmApp(srv *ecpmhttpserver.HttpServer) *EcpmApp {
return &EcpmApp{
srv,
}
}