Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Queue ¶
Queue is a data structure with a Key, which is the name of the Redis endpoint / database name. The structure also contains a connection object that we use to interact with Redis The items in the queue are all stored in Redis so they are not represented in the struct. Currently the queue only accepts strings.
func (*Queue) Close ¶
func (q *Queue) Close()
Close closes the Redis connection. Using defer q.Close() after you create a new queue is a good idea
Click to show internal directories.
Click to hide internal directories.