improved dir structure

This commit is contained in:
David Zhao
2020-10-07 01:11:58 -07:00
parent 38cc5454da
commit 37984bd167
5 changed files with 8 additions and 1 deletions
+20
View File
@@ -0,0 +1,20 @@
//+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,
)
return &LivekitServer{}, nil
}