MCPcopy
hub / github.com/livekit/livekit / init

Function init

test/integration_helpers.go:59–63  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57var roomClient livekit.RoomService
58
59func init() {
60 config.InitLoggerFromConfig(&config.DefaultConfig.Logging)
61
62 prometheus.Init("test", livekit.NodeType_SERVER)
63}
64
65func setupSingleNodeTest(name string) (*service.LivekitServer, func()) {
66 logger.Infow("----------------STARTING TEST----------------", "test", name)

Callers

nothing calls this directly

Calls 2

InitLoggerFromConfigFunction · 0.92
InitFunction · 0.92

Tested by

no test coverage detected