# Functions
Dial connects to the remote faktory server with a Dialer reflecting the value of srv.Network; i.e., a *tls.Dialer if "tcp+tls" and a *net.Dialer if not.
DialWithDialer connects to the faktory server.
This is a generic pattern match across the entire job JSON payload.
Allocate a new Batch.
Clients should use this constructor to build a Job, not allocate a bare struct directly.
NewPool creates a new Pool object through which multiple clients will be managed on your behalf.
NewPoolWithDialer creates a new Pool object similar to NewPool but clients will use the provided dialer instead of default ones.
Matches jobs based on the exact Jobtype.
Open connects to a Faktory server based on environment variable conventions:
• Use FAKTORY_PROVIDER to point to a custom URL variable.
OpenWithDialer connects to a Faktory server following the same conventions as Open but instead uses dialer as the transport.
Match jobs with the given JIDs.
# Constants
This is the protocol version supported by this client.
default.
# Variables
Set this to a non-empty value in a consumer process e.g.
# Structs
The Client structure represents a thread-unsafe connection to a Faktory server.
ClientData is serialized to JSON and sent with the HELLO command.
Structs for parsing the INFO response.
# Interfaces
Dialer is the interface for creating a specialized net.Conn.
Commands which allow you to perform admin tasks on various Faktory structures.