health

package
v0.0.0-...-f0786df Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package health contains handler implementations of the ./internal/api/restapi/operations/health

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAPIVersionHandler

func NewAPIVersionHandler(version, githash string, buildAt time.Time) health.APIVersionHandler

NewAPIVersionHandler builder for health.APIVersionHandler interface implementation.

func NewHealthAliveHandler

func NewHealthAliveHandler() health.HealthAliveHandler

NewLoginUserHandler builder for user.LoginUserHandler interface implementation.

func NewHealthReadyHandler

func NewHealthReadyHandler(repo RepoInterface) health.HealthReadyHandler

NewLoginUserHandler builder for user.LoginUserHandler interface implementation.

Types

type RepoInterface

type RepoInterface interface {
	Health(ctx context.Context) error
}

RepoInterface health repository behavior.

Jump to

Keyboard shortcuts

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