Documentation
¶
Overview ¶
MailBottle is a both, a Format and a Protocol designed, to store mails in Mail-Queue and to transfer it from the SMTP daemon to the Queue daemon.
Other than LMTP, the MailBottle Protocol is designed, to have a Queue. Other than LMTP and SMTP, MailBottle is both Protocol and (on disk) Format. Other than LMTP and SMTP, MailBottle is designed to use TCP/IP efficiently by bundling more information into a single Request and by enabling Streaming transfers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NotFound = errors.New("Not-Found")
View Source
var PollEmpty = errors.New("Poll-Empty")
View Source
var TryAgain = errors.New("Try-Again-Later")
Functions ¶
This section is empty.
Types ¶
type BottleInfo ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) Init ¶
func (c *Client) Init(conn io.ReadWriteCloser)
func (*Client) PollBottle ¶
func (*Client) PurgeBottle ¶
type Server ¶
type Server struct { H Handler // contains filtered or unexported fields }
func (*Server) Init ¶
func (s *Server) Init(c io.ReadWriteCloser)
func (*Server) ServeOneRequest ¶
type Writer ¶
func (*Writer) WriteData ¶
func (w *Writer) WriteData(b *BottleInfo) io.WriteCloser
Sends From and RcptTo pieces of a BottleInfo object. In Follow-up it starts the data section.
Click to show internal directories.
Click to hide internal directories.