Documentation ¶
Overview ¶
Package webui powers Inbucket's web GUI
Index ¶
- func MailboxHTML(w http.ResponseWriter, req *http.Request, ctx *web.Context) (err error)
- func MailboxMessage(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 RootGreeting(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 MailboxHTML ¶
MailboxHTML displays the HTML content of a message. Renders a partial
func MailboxMessage ¶
MailboxMessage outputs a particular message as JSON for the UI.
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 RootGreeting ¶
RootGreeting serves the Inbucket greeting.
func RootStatus ¶
RootStatus renders portions of the server configuration as JSON.
func SetupRoutes ¶
SetupRoutes populates routes for the webui into the provided Router.
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.