MCPcopy Index your code
hub / github.com/screego/server / Start

Function Start

turn/server.go:69–75  ·  view source on GitHub ↗
(conf config.Config)

Source from the content-addressed store, hash-verified

67}
68
69func Start(conf config.Config) (Server, error) {
70 if conf.TurnExternal {
71 return newExternalServer(conf)
72 } else {
73 return newInternalServer(conf)
74 }
75}
76
77func newExternalServer(conf config.Config) (Server, error) {
78 return &ExternalServer{

Callers 1

serveCmdFunction · 0.92

Calls 2

newExternalServerFunction · 0.85
newInternalServerFunction · 0.85

Tested by

no test coverage detected