actuator

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2019 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 {
	Status string `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

type Properties

type Properties struct {
}

Jump to

Keyboard shortcuts

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