mirror of
https://gitea.com/gitea/act_runner.git
synced 2024-11-14 22:42:47 +01:00
12 lines
231 B
Go
12 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
|
||
|
}
|