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

Index

Package Files

autoconfigure.go health.go

Constants

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

type Health Uses

type Health struct {
    Status string `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

type Properties Uses

type Properties struct {
}

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