woodpecker/cncd/pipeline/pipeline/rpc/health.go
2019-09-14 14:21:16 +02:00

12 lines
193 B
Go

package rpc
import (
"context"
)
// Health defines a health-check connection.
type Health interface {
// Check returns if server is healthy or not
Check(c context.Context) (bool, error)
}