smtp

package
v0.0.0-...-334b7ae Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2023 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

func NewServer

func NewServer(db *gorm.DB, cert *tls.Certificate, maxMsgBytes int) *Server

func (*Server) Serve

func (s *Server) Serve(ln net.Listener) error

func (*Server) SetCertificate

func (s *Server) SetCertificate(cert *tls.Certificate)

Jump to

Keyboard shortcuts

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