hiboot: hidevops.io/hiboot/pkg/starter/actuator Index | Files

package actuator

import "hidevops.io/hiboot/pkg/starter/actuator"

Package actuator provide the health check endpoint for web application

Package controller provide the controller for health check


Package Files

autoconfigure.go health.go


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

type Health Uses

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

Health is the health check struct

type HealthService Uses

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

HealthService is the interface for health check

Package actuator imports 3 packages (graph) and is imported by 4 packages. Updated 2019-10-15. Refresh now. Tools for package owners.