ready

package
v0.0.0-...-7ff62be Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 16, 2024 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

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 CheckAMQP

func CheckAMQP(_ context.Context, logger zerolog.Logger) error

func CheckAll

func CheckAll(
	ctx context.Context,
	retryDelay time.Duration,
	retries int,
	withPostgres, withTechPostgres bool,
	logger zerolog.Logger,
) error

func CheckMongo

func CheckMongo(ctx context.Context, logger zerolog.Logger) error

func CheckPostgres

func CheckPostgres(ctx context.Context, _ zerolog.Logger) error

func CheckRedis

func CheckRedis(ctx context.Context, logger zerolog.Logger) error

func CheckTechPostgres

func CheckTechPostgres(ctx context.Context, _ zerolog.Logger) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL