Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend struct {
// contains filtered or unexported fields
}
func NewBackend ¶
func NewBackend(user, password string, lookupClient pb.LookupServiceClient, dumpClient pb.DMSDumpServiceClient, privateKey *easyecc.PrivateKey) *Backend
func (*Backend) AnonymousLogin ¶
AnonymousLogin requires clients to authenticate using SMTP AUTH before sending emails
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func NewServer ¶
func NewServer(opts *ServerOptions) (*Server, error)
func (*Server) ListenAndServe ¶
type ServerOptions ¶
type ServerOptions struct { Domain string Port int User string Password string LookupClient pb.LookupServiceClient DumpClient pb.DMSDumpServiceClient PrivateKey *easyecc.PrivateKey CertFile string KeyFile string }
Click to show internal directories.
Click to hide internal directories.