mirror of
https://github.com/livekit/livekit.git
synced 2026-03-31 02:25:39 +00:00
21 lines
479 B
Go
21 lines
479 B
Go
//+build wireinject
|
|
|
|
package service
|
|
|
|
import (
|
|
"github.com/google/wire"
|
|
|
|
"github.com/livekit/livekit-server/pkg/config"
|
|
"github.com/livekit/livekit-server/pkg/routing"
|
|
"github.com/livekit/protocol/auth"
|
|
)
|
|
|
|
func InitializeServer(conf *config.Config, keyProvider auth.KeyProvider,
|
|
roomStore RoomStore, router routing.Router, currentNode routing.LocalNode,
|
|
selector routing.NodeSelector) (*LivekitServer, error) {
|
|
wire.Build(
|
|
ServiceSet,
|
|
)
|
|
return &LivekitServer{}, nil
|
|
}
|