MCPcopy Index your code
hub / github.com/coder/coder / Ping

Method Ping

agent/agentsocket/client.go:68–71  ·  view source on GitHub ↗

Ping sends a ping request to the agent.

(ctx context.Context)

Source from the content-addressed store, hash-verified

66
67// Ping sends a ping request to the agent.
68func (c *Client) Ping(ctx context.Context) error {
69 _, err := c.client.Ping(ctx, &proto.PingRequest{})
70 return err
71}
72
73// SyncStart starts a unit in the dependency graph.
74func (c *Client) SyncStart(ctx context.Context, unitName unit.ID) error {

Callers 2

syncPingMethod · 0.95
mcpServerMethod · 0.95

Calls 1

PingMethod · 0.65

Tested by

no test coverage detected