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: 0

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