healthcheck

package
v0.0.0-...-306ed92 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewParser

NewParser creates a new health check annotation parser

Types

type Config

type Config struct {
	MaxFails    int `json:"maxFails"`
	FailTimeout int `json:"failTimeout"`
}

Config returns the URL and method to use check the status of the upstream server/s

Jump to

Keyboard shortcuts

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