Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SmtpHandler ¶
type SmtpHandler struct {
// contains filtered or unexported fields
}
func CreateSmtpHandler ¶
func CreateSmtpHandler(mailStore store.MailStore) SmtpHandler
type SpaHandler ¶
func NewSpaHandler ¶
func NewSpaHandler(dist fs.FS, index string) *SpaHandler
func (SpaHandler) ServeHTTP ¶
func (h SpaHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
ServeHTTP handles incoming http requests. Always responds with the index.html if the request resource does not exist
Click to show internal directories.
Click to hide internal directories.