Documentation
¶
Index ¶
- func New(modName string, addrs []string) (module.LifetimeModule, error)
- type Endpoint
- func (endp *Endpoint) Configure(_ []string, cfg *config.Map) error
- func (endp *Endpoint) ConnectionCount() int
- func (endp *Endpoint) InstanceName() string
- func (endp *Endpoint) Name() string
- func (endp *Endpoint) NewSession(conn *smtp.Conn) (smtp.Session, error)
- func (endp *Endpoint) Start() error
- func (endp *Endpoint) Stop() error
- type Session
- func (s *Session) Auth(mech string) (sasl.Server, error)
- func (s *Session) AuthMechanisms() []string
- func (s *Session) AuthPlain(username, password string) error
- func (s *Session) Data(r io.Reader) error
- func (s *Session) LMTPData(r io.Reader, sc smtp.StatusCollector) error
- func (s *Session) Logout() error
- func (s *Session) Mail(from string, opts *smtp.MailOptions) error
- func (s *Session) Rcpt(to string, opts *smtp.RcptOptions) error
- func (s *Session) Reset()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Endpoint ¶
func (*Endpoint) ConnectionCount ¶ added in v0.7.1
func (*Endpoint) InstanceName ¶
func (*Endpoint) NewSession ¶ added in v0.5.2
Click to show internal directories.
Click to hide internal directories.