health

package
v0.0.0-...-81d47fe Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Request

type Request struct {
	ProductCode types.ProductCode `json:"product_code"`
}

func (*Request) Endpoint

func (req *Request) Endpoint() string

func (*Request) Method

func (req *Request) Method() string

func (*Request) Payload

func (req *Request) Payload() []byte

func (*Request) Query

func (req *Request) Query() string

type Response

type Response struct {
	Status Status `json:"status"`
}

type Status

type Status string
const (
	Running      Status = "RUNNING"
	Closed       Status = "CLOSED"
	Starting     Status = "Starting"
	PreOpen      Status = "PREOPEN"
	CircuitBreak Status = "CIRCUIT BREAK"
	AwaitingSQ   Status = "AWAITING SQ"
	Matured      Status = "MATURED"
)

Jump to

Keyboard shortcuts

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