# Functions
No description provided by the author
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.
No description provided by the author
No description provided by the author
Match jobs with the given JIDs.
# Constants
No description provided by the author
This is the protocol version supported by this client.
No description provided by the author
No description provided by the author
No description provided by the author
default.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Set this to a non-empty value in a consumer process e.g.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
The Client structure represents a thread-unsafe connection to a Faktory server.
ClientData is serialized to JSON and sent with the HELLO command.
No description provided by the author
No description provided by the author
Structs for parsing the INFO response.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
Dialer is the interface for creating a specialized net.Conn.
Commands which allow you to perform admin tasks on various Faktory structures.