Documentation ¶
Index ¶
- type AddHeartbeatRequest
- type AddHeartbeatResponse
- type DeleteHeartbeatRequest
- type DeleteHeartbeatResponse
- type DisableHeartbeatRequest
- type DisableHeartbeatResponse
- type EnableHeartbeatRequest
- type EnableHeartbeatResponse
- type GetHeartbeatRequest
- type GetHeartbeatResponse
- type ListHeartbeatsRequest
- type ListHeartbeatsResponse
- type SendHeartbeatRequest
- type SendHeartbeatResponse
- type UpdateHeartbeatRequest
- type UpdateHeartbeatResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddHeartbeatRequest ¶
type AddHeartbeatResponse ¶
type DeleteHeartbeatRequest ¶
type DeleteHeartbeatResponse ¶
type DisableHeartbeatRequest ¶
type EnableHeartbeatRequest ¶
type EnableHeartbeatResponse ¶
type GetHeartbeatRequest ¶
type GetHeartbeatResponse ¶
type GetHeartbeatResponse struct { Id string `json:"id"` Name string `json:"name"` Status string `json:"status"` Description string `json:"description"` Enabled bool `json:"enabled"` LastHeartbeat uint64 `json:"lastHeartBeat"` Interval int `json:"interval"` IntervalUnit string `json:"intervalUnit"` Expired bool `json:"expired"` }
type ListHeartbeatsRequest ¶
type ListHeartbeatsRequest struct {
ApiKey string `url:"apiKey,omitempty"`
}
type ListHeartbeatsResponse ¶
type ListHeartbeatsResponse struct { Heartbeats []struct { Id string `json:"id"` Name string `json:"name"` Status string `json:"status"` Description string `json:"description"` Enabled bool `json:"enabled"` LastHeartbeat uint64 `json:"lastHeartBeat"` Interval int `json:"interval"` IntervalUnit string `json:"intervalUnit"` Expired bool `json:"expired"` } `json:"heartbeats"` }
type SendHeartbeatRequest ¶
type SendHeartbeatResponse ¶
type UpdateHeartbeatRequest ¶
type UpdateHeartbeatRequest struct { ApiKey string `json:"apiKey,omitempty"` Id string `json:"id,omitempty"` Name string `json:"name,omitempty"` Interval int `json:"interval,omitempty"` IntervalUnit string `json:"intervalUnit,omitempty"` Description string `json:"description,omitempty"` Enabled bool `json:"enabled,omitempty"` }
type UpdateHeartbeatResponse ¶
Click to show internal directories.
Click to hide internal directories.