client

package
v0.0.0-...-3a0566b Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2015 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const BUFFER_SIZE = 512

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func MakeClient

func MakeClient(c io.ReadWriteCloser) *Client

func (*Client) BeginReceive

func (c *Client) BeginReceive(ch chan *email.SMTPEmail) error

Begins receiving messages on the client connection. Clients are expected to begin with a HELO message. Any emails received are put onto the channel. On error, returns error and does not attempt to close the connection.

func (*Client) Close

func (c *Client) Close() error

Jump to

Keyboard shortcuts

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