MCPcopy Create free account
hub / github.com/One-com/gone / Serve

Method Serve

http/server.go:65–121  ·  view source on GitHub ↗

Serve will call net/http.Server.Serve() on all listeners, closing the listeners when the context is canceled to make Serve() exit. This method exits when all underlying Serve() calls have exited.

(ctx context.Context)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

TestFileWithFunction · 0.95
TestExportFunction · 0.95

Calls 4

AddMethod · 0.80
ServeMethod · 0.65
CloseMethod · 0.65
WaitMethod · 0.65

Tested by 2

TestFileWithFunction · 0.76
TestExportFunction · 0.76