initial commit
This commit is contained in:
commit
88c14b627e
224 files changed
+17204
No files matched your search
@@ -0,0 +1,7 @@
|
||||
package inbound
|
||||
|
||||
import "context"
|
||||
|
||||
type Readiness interface {
|
||||
Check(ctx context.Context) error
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package outbound
|
||||
|
||||
import (
|
||||
"context"
|
||||
"errors"
|
||||
)
|
||||
|
||||
var ErrNotReady = errors.New("service is not ready")
|
||||
|
||||
type ReadinessChecker interface {
|
||||
Check(ctx context.Context) error
|
||||
}
|
||||
Reference in new issue
Block a user