Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MissingHandler ¶
MissingHandler process missing requests.
func PastconeHandler ¶
PastconeHandler process a pastcone request.
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.
Click to show internal directories.
Click to hide internal directories.