chore(proto): Add ping request.

Signed-off-by: Bo-Yi Wu <[email protected]>
This commit is contained in:
Bo-Yi Wu authored and Jason Song committed 2022-11-24 15:36:54 +08:00
1 parent 14a345504f
commit 4d7ef95d40
8 files changed
+179 -7

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
package client
import (
"context"
)
// A Client manages communication with the runner.
type Client interface {
// Ping sends a ping message to the server to test connectivity.
Ping(ctx context.Context, machine string) error
}