Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LinkQueue ¶
type LinkQueue struct {
// contains filtered or unexported fields
}
LinkQueue is the in memory link cache object.
func NewLinkQueue ¶
NewLinkQueue initialises the cache with a default expiration duration.
func (*LinkQueue) ContainsItems ¶
ContainsItems returns true if length > 0.
func (*LinkQueue) DeQueue ¶
DeQueue is a blocking operation and returns a channel that receives a URL from the queue.
Click to show internal directories.
Click to hide internal directories.