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