Documentation ¶
Index ¶
Constants ¶
View Source
const (
AppName = "health"
)
Variables ¶
This section is empty.
Functions ¶
func NewHealthCheckRequest ¶
func NewHealthCheckRequest() *healthgrpc.HealthCheckRequest
Types ¶
type HealthCheckResponse ¶
type HealthCheckResponse struct {
Status string `json:"status"`
}
func NewHealth ¶
func NewHealth(hc *healthgrpc.HealthCheckResponse) *HealthCheckResponse
type HealthChecker ¶
type HealthChecker struct { HealthCheckPath string // contains filtered or unexported fields }
func NewDefaultHealthChecker ¶
func NewDefaultHealthChecker() *HealthChecker
func NewHealthChecker ¶
func NewHealthChecker(checker healthgrpc.HealthServer) *HealthChecker
func (*HealthChecker) Check ¶
func (h *HealthChecker) Check(r *restful.Request, w *restful.Response)
func (*HealthChecker) WebService ¶
func (h *HealthChecker) WebService() *restful.WebService
Click to show internal directories.
Click to hide internal directories.