Documentation ¶
Index ¶
Constants ¶
View Source
const Type mail.MiddlewareType = "subcap"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Middleware ¶
type Middleware struct {
// contains filtered or unexported fields
}
Middleware is the middleware struct for the capitalization middleware
func New ¶
func New(l language.Tag) *Middleware
New returns a new Middleware and can be used with the mail.WithMiddleware method. It takes a language.Tag as input
func (Middleware) Handle ¶
func (c Middleware) Handle(m *mail.Msg) *mail.Msg
Handle is the handler method that satisfies the mail.Middleware interface
func (Middleware) Type ¶ added in v0.0.4
func (c Middleware) Type() mail.MiddlewareType
Type returns the MiddlewareType for this Middleware
Click to show internal directories.
Click to hide internal directories.