MCPcopy Index your code
hub / github.com/FunctionStream/function-stream / startServer

Function startServer

tests/integration_test.go:34–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32)
33
34func startServer() {
35 common.RunProcess(func() (io.Closer, error) {
36 s, err := server.NewDefaultServer()
37 if err != nil {
38 return nil, err
39 }
40 go s.Run(context.Background())
41 return s, nil
42 })
43}
44
45func init() {
46 go startServer()

Callers 1

initFunction · 0.85

Calls 3

RunProcessFunction · 0.92
NewDefaultServerFunction · 0.92
RunMethod · 0.65

Tested by

no test coverage detected