mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2024-11-30 20:12:39 +03:00
4d7ef95d40
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
11 lines
231 B
Go
11 lines
231 B
Go
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
|
|
}
|