healthservice

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: May 3, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ProviderProdcutionSet provides a HealthService for use in production.
	ProviderProductionSet = wire.NewSet(Provide, wire.Bind(new(domain.HealthService), new(*HealthService)))
)

Functions

This section is empty.

Types

type HealthService

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

HealthService is a service which processes information about the application's health.

func Provide

func Provide(repository domain.SchemaMigrationRepo) *HealthService

Provide returns a HealthService configured with the provided SchemaMigrationRepo.

func (*HealthService) GetHealth

func (h *HealthService) GetHealth() (*domain.Health, error)

GetHealth retrieves the Health of the application.

Jump to

Keyboard shortcuts

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