Documentation ¶
Index ¶
- func MailboxDeleteV1(w http.ResponseWriter, req *http.Request, ctx *web.Context) (err error)
- func MailboxListV1(w http.ResponseWriter, req *http.Request, ctx *web.Context) (err error)
- func MailboxMarkSeenV1(w http.ResponseWriter, req *http.Request, ctx *web.Context) (err error)
- func MailboxPurgeV1(w http.ResponseWriter, req *http.Request, ctx *web.Context) (err error)
- func MailboxShowV1(w http.ResponseWriter, req *http.Request, ctx *web.Context) (err error)
- func MailboxSourceV1(w http.ResponseWriter, req *http.Request, ctx *web.Context) (err error)
- func MonitorAllMessagesV1(w http.ResponseWriter, req *http.Request, ctx *web.Context) (err error)
- func MonitorMailboxMessagesV1(w http.ResponseWriter, req *http.Request, ctx *web.Context) (err error)
- func SetupRoutes(r *mux.Router)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MailboxDeleteV1 ¶
MailboxDeleteV1 removes a particular message from a mailbox
func MailboxListV1 ¶
MailboxListV1 renders a list of messages in a mailbox
func MailboxMarkSeenV1 ¶
MailboxMarkSeenV1 marks a message as read.
func MailboxPurgeV1 ¶
MailboxPurgeV1 deletes all messages from a mailbox
func MailboxShowV1 ¶
MailboxShowV1 renders a particular message from a mailbox
func MailboxSourceV1 ¶
MailboxSourceV1 displays the raw source of a message, including headers. Renders text/plain
func MonitorAllMessagesV1 ¶
MonitorAllMessagesV1 is a web handler which upgrades the connection to a websocket and notifies the client of all messages received.
func MonitorMailboxMessagesV1 ¶
func MonitorMailboxMessagesV1( w http.ResponseWriter, req *http.Request, ctx *web.Context) (err error)
MonitorMailboxMessagesV1 is a web handler which upgrades the connection to a websocket and notifies the client of messages received by a particular mailbox.
func SetupRoutes ¶
SetupRoutes populates the routes for the REST interface
Types ¶
This section is empty.