Documentation
¶
Index ¶
Constants ¶
View Source
const ( ErrorParamsEmpty errors.CodeError = iota + errors.MIN_PKG_Mailer ErrorMailerHtml ErrorMailerText )
Variables ¶
This section is empty.
Functions ¶
func IsCodeError ¶
func IsCodeError() bool
Types ¶
type Mailer ¶
type Mailer interface { SetTheme(t Themes) GetTheme() Themes SetTextDirection(d TextDirection) GetTextDirection() TextDirection SetBody(b *hermes.Body) GetBody() *hermes.Body SetCSSInline(disable bool) SetName(name string) GetName() string SetCopyright(copy string) GetCopyright() string SetLink(link string) GetLink() string SetLogo(logoUrl string) GetLogo() string SetTroubleText(text string) GetTroubleText() string GenerateHTML() (*bytes.Buffer, liberr.Error) GeneratePlainText() (*bytes.Buffer, liberr.Error) }
type TextDirection ¶
type TextDirection uint8
const ( LeftToRight TextDirection = iota RightToLeft )
func ParseTextDirection ¶
func ParseTextDirection(direction string) TextDirection
func (TextDirection) String ¶
func (d TextDirection) String() string
Source Files
¶
Click to show internal directories.
Click to hide internal directories.