health

package
v0.0.0-...-16f8954 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2022 License: Apache-2.0 Imports: 9 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Configure

func Configure(api *operations.DevAnalyticsAffiliationAPI, service Service)

Configure setups handlers on api with Service

Types

type Service

type Service interface {
	GetHealth(ctx context.Context) (*models.Health, error)
	SetServiceRequestID(requestID string)
	GetServiceRequestID() string
}

Service handles async log of audit event

func New

func New() Service

New is a simple helper function to create a service instance

Jump to

Keyboard shortcuts

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