Documentation
¶
Overview ¶
Package webui powers Inbucket's web GUI
Index ¶
- func MailboxDownloadAttach(w http.ResponseWriter, req *http.Request, ctx *web.Context) (err error)
- func MailboxHTML(w http.ResponseWriter, req *http.Request, ctx *web.Context) (err error)
- func MailboxIndex(w http.ResponseWriter, req *http.Request, ctx *web.Context) (err error)
- func MailboxIndexFriendly(w http.ResponseWriter, req *http.Request, ctx *web.Context) (err error)
- func MailboxLink(w http.ResponseWriter, req *http.Request, ctx *web.Context) (err error)
- func MailboxList(w http.ResponseWriter, req *http.Request, ctx *web.Context) (err error)
- func MailboxShow(w http.ResponseWriter, req *http.Request, ctx *web.Context) (err error)
- func MailboxSource(w http.ResponseWriter, req *http.Request, ctx *web.Context) (err error)
- func MailboxViewAttach(w http.ResponseWriter, req *http.Request, ctx *web.Context) (err error)
- func RecentMailboxes(ctx *web.Context) []string
- func RememberMailbox(ctx *web.Context, mailbox string)
- func RootIndex(w http.ResponseWriter, req *http.Request, ctx *web.Context) (err error)
- func RootMonitor(w http.ResponseWriter, req *http.Request, ctx *web.Context) (err error)
- func RootMonitorMailbox(w http.ResponseWriter, req *http.Request, ctx *web.Context) (err error)
- func RootStatus(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 MailboxDownloadAttach ¶
MailboxDownloadAttach sends the attachment to the client; disposition: attachment, type: application/octet-stream
func MailboxHTML ¶
MailboxHTML displays the HTML content of a message. Renders a partial
func MailboxIndex ¶
MailboxIndex renders the index page for a particular mailbox
func MailboxIndexFriendly ¶
MailboxIndexFriendly handles pretty links to a particular mailbox. Renders a redirect
func MailboxLink ¶
MailboxLink handles pretty links to a particular message. Renders a redirect
func MailboxList ¶
MailboxList renders a list of messages in a mailbox. Renders a partial
func MailboxShow ¶
MailboxShow renders a particular message from a mailbox. Renders an HTML partial
func MailboxSource ¶
MailboxSource displays the raw source of a message, including headers. Renders text/plain
func MailboxViewAttach ¶
MailboxViewAttach sends the attachment to the client for online viewing
func RecentMailboxes ¶
RecentMailboxes returns a slice of the most recently accessed mailboxes
func RememberMailbox ¶
RememberMailbox manages the list of recently accessed mailboxes stored in the session
func RootMonitor ¶
RootMonitor serves the Inbucket monitor page
func RootMonitorMailbox ¶
RootMonitorMailbox serves the Inbucket monitor page for a particular mailbox
func RootStatus ¶
RootStatus serves the Inbucket status page
func SetupRoutes ¶
SetupRoutes populates routes for the webui into the provided Router
Types ¶
This section is empty.