2022-08-13 09:41:01 -05:00
|
|
|
package client
|
|
|
|
|
|
|
|
import (
|
2022-11-21 22:22:19 -06:00
|
|
|
"code.gitea.io/bots-proto-go/ping/v1/pingv1connect"
|
|
|
|
"code.gitea.io/bots-proto-go/runner/v1/runnerv1connect"
|
2022-08-13 09:41:01 -05:00
|
|
|
)
|
|
|
|
|
|
|
|
// A Client manages communication with the runner.
|
|
|
|
type Client interface {
|
2022-09-25 05:54:00 -05:00
|
|
|
pingv1connect.PingServiceClient
|
|
|
|
runnerv1connect.RunnerServiceClient
|
2022-11-15 08:42:41 -06:00
|
|
|
Address() string
|
2022-08-13 09:41:01 -05:00
|
|
|
}
|