mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-27 12:21:03 +00:00
e34daae0cf
* Refactor: move cncd/pipeline/ to pipeline/ * Refactor: move pipeline/pipeline/ to pipeline/
11 lines
193 B
Go
11 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)
|
|
}
|