actuator

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package actuator provide the health check endpoint for web application

Package controller provide the controller for health check

Index

Constants

View Source
const (
	// Profile is the profile of actuator, it should be as same as the package name
	Profile = "actuator"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Health

type Health struct {
	at.Schema `json:"-"`
	Status    string `schema:"The status of health check" json:"status"`
}

Health is the health check struct

type HealthService added in v0.10.2

type HealthService interface {
	Name() string
	Status() bool
}

HealthService is the interface for health check

Jump to

Keyboard shortcuts

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