Documentation ¶ Index ¶ type Request func (req *Request) Endpoint() string func (req *Request) Method() string func (req *Request) Payload() []byte func (req *Request) Query() string type Response type Status 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" ) Source Files ¶ View all Source files health.go Click to show internal directories. Click to hide internal directories.