Documentation ¶
Index ¶
- type IMailerConfig
- type MailerConfig
- func (c *MailerConfig) GetAddress() string
- func (c *MailerConfig) GetFrom() string
- func (c *MailerConfig) GetHost() string
- func (c *MailerConfig) GetPassword() string
- func (c *MailerConfig) GetPort() int
- func (c *MailerConfig) GetUsername() string
- func (c *MailerConfig) SetAddress(address string)
- func (c *MailerConfig) SetFrom(from string)
- func (c *MailerConfig) SetHost(host string)
- func (c *MailerConfig) SetPassword(password string)
- func (c *MailerConfig) SetPort(port int)
- func (c *MailerConfig) SetUsername(username string)
- func (c *MailerConfig) Validate() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IMailerConfig ¶
type IMailerConfig interface { Validate() error SetAddress(address string) GetAddress() string SetUsername(username string) GetUsername() string SetPassword(password string) GetPassword() string SetHost(host string) GetHost() string SetPort(port int) GetPort() int SetFrom(from string) GetFrom() string }
func NewMailerConfig ¶
func NewMailerConfig() IMailerConfig
type MailerConfig ¶
type MailerConfig struct {
// contains filtered or unexported fields
}
func (*MailerConfig) GetAddress ¶
func (c *MailerConfig) GetAddress() string
func (*MailerConfig) GetFrom ¶
func (c *MailerConfig) GetFrom() string
func (*MailerConfig) GetHost ¶
func (c *MailerConfig) GetHost() string
func (*MailerConfig) GetPassword ¶
func (c *MailerConfig) GetPassword() string
func (*MailerConfig) GetPort ¶
func (c *MailerConfig) GetPort() int
func (*MailerConfig) GetUsername ¶
func (c *MailerConfig) GetUsername() string
func (*MailerConfig) SetAddress ¶
func (c *MailerConfig) SetAddress(address string)
func (*MailerConfig) SetFrom ¶
func (c *MailerConfig) SetFrom(from string)
func (*MailerConfig) SetHost ¶
func (c *MailerConfig) SetHost(host string)
func (*MailerConfig) SetPassword ¶
func (c *MailerConfig) SetPassword(password string)
func (*MailerConfig) SetPort ¶
func (c *MailerConfig) SetPort(port int)
func (*MailerConfig) SetUsername ¶
func (c *MailerConfig) SetUsername(username string)
func (*MailerConfig) Validate ¶
func (c *MailerConfig) Validate() error
Click to show internal directories.
Click to hide internal directories.