switched to Twirp for RPC, server skaffold

This commit is contained in:
David Zhao
2020-10-06 23:20:44 -07:00
parent 5117b8bf80
commit 0d6c0adbdd
20 changed files with 2875 additions and 706 deletions
+19
View File
@@ -0,0 +1,19 @@
//+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
}