Documentation ¶
Overview ¶
pandora is a reference client for the pandora server
This client uses a http client to access the message store
Index ¶
Constants ¶
View Source
const ( // Confirm that the message was processed and remove it from the mailbox Confirm = AckStatus(pandora.StatusConfirmed) // Unable to process the message, put it back on the mailbox Reject = AckStatus(pandora.StatusRejected) )
Variables ¶
View Source
var (
ErrNoData = errors.New("no data available")
)
Functions ¶
This section is empty.
Types ¶
type AckStatus ¶
type AckStatus byte
AckStatus represent the status of the processing of the message
type HttpClient ¶
type HttpClient interface { // PostForm is used to send the given body values to the url PostForm(url string, body url.Values) (*http.Response, error) }
HttpClient defines the interface required to enable a Mailbox object to talk with a Pandora server
Click to show internal directories.
Click to hide internal directories.