2026-05-19 14:33:06 +08:00
|
|
|
package main
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"context"
|
|
|
|
|
controllerAudio "media/controller/audio"
|
|
|
|
|
controllerVideo "media/controller/video"
|
|
|
|
|
|
|
|
|
|
_ "gitea.com/red-future/common/consul"
|
|
|
|
|
"gitea.com/red-future/common/http"
|
|
|
|
|
"gitea.com/red-future/common/jaeger"
|
2026-05-20 11:32:39 +08:00
|
|
|
_ "github.com/gogf/gf/contrib/drivers/pgsql/v2"
|
2026-05-19 14:33:06 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
func main() {
|
|
|
|
|
ctx := context.Background()
|
|
|
|
|
defer jaeger.ShutDown(ctx)
|
|
|
|
|
|
2026-05-20 11:32:39 +08:00
|
|
|
http.RouteRegister([]interface{}{
|
|
|
|
|
controllerAudio.AudioExtract,
|
|
|
|
|
controllerVideo.Concat,
|
|
|
|
|
})
|
2026-05-19 14:33:06 +08:00
|
|
|
select {}
|
|
|
|
|
}
|