MCPcopy Create free account
hub / github.com/rilldata/rill / Close

Method Close

runtime/server/server.go:108–116  ·  view source on GitHub ↗

Close should be called when the server is done

()

Source from the content-addressed store, hash-verified

106
107// Close should be called when the server is done
108func (s *Server) Close() error {
109 // TODO: This should probably trigger a server shutdown
110
111 if s.aud != nil {
112 s.aud.Close()
113 }
114
115 return nil
116}
117
118// Ping implements RuntimeService
119func (s *Server) Ping(ctx context.Context, req *runtimev1.PingRequest) (*runtimev1.PingResponse, error) {

Callers 5

TestHTTPToDuckDBTransferFunction · 0.95
ServeHTTPFunction · 0.95
TestMCPFunction · 0.95
newTestIssuerAndAudienceFunction · 0.95
newRuntimeServerFunction · 0.95

Calls 1

CloseMethod · 0.65

Tested by 3

TestHTTPToDuckDBTransferFunction · 0.76
TestMCPFunction · 0.76
newTestIssuerAndAudienceFunction · 0.76