mirror of
https://github.com/livekit/livekit.git
synced 2026-03-30 13:25:42 +00:00
22 lines
406 B
Go
22 lines
406 B
Go
//+build wireinject
|
|
|
|
package main
|
|
|
|
import (
|
|
"github.com/google/wire"
|
|
|
|
"github.com/livekit/livekit-server/pkg/config"
|
|
"github.com/livekit/livekit-server/pkg/node"
|
|
"github.com/livekit/livekit-server/pkg/service"
|
|
)
|
|
|
|
func InitializeServer(conf *config.Config) (*LivekitServer, error) {
|
|
wire.Build(
|
|
NewLivekitServer,
|
|
node.NodeSet,
|
|
service.ServiceSet,
|
|
newManager,
|
|
)
|
|
return &LivekitServer{}, nil
|
|
}
|