biz

package
v0.0.0-...-feb181f Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HealthRepo

type HealthRepo interface {
	IsBackendAvailable(ctx context.Context) (*pb.GetReadyzResponse, error)
	IsRelationsAvailable(ctx context.Context) (*pb.GetReadyzResponse, error)
}

type HealthUsecase

type HealthUsecase struct {
	// contains filtered or unexported fields
}

HealthUsecase is a Health usecase.

func New

func New(repo HealthRepo, logger log.Logger, disablePersistence bool) *HealthUsecase

New creates a new a Health usecase.

func (*HealthUsecase) IsBackendAvailable

func (rc *HealthUsecase) IsBackendAvailable(ctx context.Context) (*pb.GetReadyzResponse, error)

Jump to

Keyboard shortcuts

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