package
0.0.0-20150429134902-531c36c3f12d
Repository: https://github.com/mxk/go-imap.git
Documentation: pkg.go.dev

# Functions

NewConn creates a pair of connected net.Conn instances.
Server launches a new scripted server that can handle one client connection.

# Variables

Predefined script actions for controlling server state.
Predefined script actions for controlling server state.
ServerName is the hostname used by the scripted server.
Predefined script actions for controlling server state.
Timeout is the maximum execution time for each Read and Write call on the simulated network connection.

# Structs

Conn is an in-memory implementation of net.Conn.
T wraps existing test state and provides methods for testing the IMAP client against the scripted server.

# Type aliases

Send and Recv are script actions for sending and receiving raw bytes (usually literal strings).
ScriptFunc is function type called during script execution to control the server state.
Send and Recv are script actions for sending and receiving raw bytes (usually literal strings).