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

Method Ping

runtime/server/server.go:119–125  ·  view source on GitHub ↗

Ping implements RuntimeService

(ctx context.Context, req *runtimev1.PingRequest)

Source from the content-addressed store, hash-verified

117
118// Ping implements RuntimeService
119func (s *Server) Ping(ctx context.Context, req *runtimev1.PingRequest) (*runtimev1.PingResponse, error) {
120 resp := &runtimev1.PingResponse{
121 Version: s.runtime.Version().String(),
122 Time: timestamppb.New(time.Now()),
123 }
124 return resp, nil
125}
126
127// Starts the HTTP server.
128func (s *Server) ServeHTTP(ctx context.Context, registerAdditionalHandlers func(mux *http.ServeMux), local bool) error {

Callers

nothing calls this directly

Calls 2

VersionMethod · 0.80
StringMethod · 0.65

Tested by

no test coverage detected