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