Documentation
¶
Index ¶
Constants ¶
const PluginName = "WebAPI tools Endpoint"
PluginName is the name of the web API tools endpoint plugin.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MissingResponse ¶
type MissingResponse struct {
IDs []string `json:"ids,omitempty"`
Count int `json:"count,omitempty"`
}
MissingResponse is the HTTP response containing all the missing messages and their count.
type PastConeRequest ¶
type PastConeRequest struct {
ID string `json:"id"`
}
PastConeRequest holds the message id to query.
type PastConeResponse ¶
type PastConeResponse struct {
Exist bool `json:"exist,omitempty"`
PastConeSize int `json:"pastConeSize,omitempty"`
Error string `json:"error,omitempty"`
}
PastConeResponse is the HTTP response containing the number of messages in the past cone and if all messages of the past cone exist on the node.