health_checker

package
v1.1.10 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Checker

type Checker struct {
	RestClient   *rest_client.RestClient
	GoodHttpCode int
}

func NewRestClientChecker

func NewRestClientChecker(RestClient *rest_client.RestClient) Checker

func NewRestClientCheckerCode

func NewRestClientCheckerCode(RestClient *rest_client.RestClient, httpCode int) Checker

func (Checker) Check

func (this Checker) Check() (healthData health.Health)

func (*Checker) Health

func (this *Checker) Health() (data string, resp *resty.Response, err error)

Jump to

Keyboard shortcuts

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