application

package
v0.0.0-...-919210b Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HealthCheckService

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

HealthCheckService is the application service for the health check

func (*HealthCheckService) Inject

func (h *HealthCheckService) Inject(kmipRepo domain.KMIPRepository, l flamingo.Logger)

Inject dependencies

func (*HealthCheckService) PerformCheck

func (h *HealthCheckService) PerformCheck(ctx context.Context, amount int) (*domain.HealthCheckResult, error)

PerformCheck performs the health check based on the amount of keys to create First the keys are created and stored in a string slice After logging the needed time the keys are deleted

Jump to

Keyboard shortcuts

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