youtu_ecpm/server/ecpm.go
2025-01-15 10:09:03 +08:00

20 lines
267 B
Go

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,
}
}