13 lines
175 B
Go
13 lines
175 B
Go
package outbound
|
|
|
|
import (
|
|
"context"
|
|
"errors"
|
|
)
|
|
|
|
var ErrNotReady = errors.New("service is not ready")
|
|
|
|
type ReadinessChecker interface {
|
|
Check(ctx context.Context) error
|
|
}
|