Documentation ¶
Index ¶
- func Check(ctx context.Context, ...) error
- func CheckAMQP(_ context.Context, logger zerolog.Logger) error
- func CheckAll(ctx context.Context, retryDelay time.Duration, retries int, ...) error
- func CheckMongo(ctx context.Context, logger zerolog.Logger) error
- func CheckPostgres(ctx context.Context, _ zerolog.Logger) error
- func CheckRedis(ctx context.Context, logger zerolog.Logger) error
- func CheckTechPostgres(ctx context.Context, _ zerolog.Logger) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Check ¶
func Check( ctx context.Context, checker func(ctx context.Context, logger zerolog.Logger) error, name string, retryDelay time.Duration, retries int, logger zerolog.Logger, ) error
Check calls checker function for a job to do. name is a display string retryDelay is the time to sleep before doing another attempt retries is the max number of tries to attempt
func CheckAll ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.