9 lines
110 B
Go
9 lines
110 B
Go
|
package health
|
||
|
|
||
|
import "context"
|
||
|
|
||
|
type Checker interface {
|
||
|
Name() string
|
||
|
Check(ctx context.Context) error
|
||
|
}
|