chore(proto): Add ping request.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu
2022-08-13 22:41:01 +08:00
committed by Jason Song
parent 14a345504f
commit 4d7ef95d40
8 changed files with 179 additions and 7 deletions

11
client/client.go Normal file
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
}