config

package
v1.7.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 12, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL