Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FifoQueue ¶
type FifoQueue struct {
// contains filtered or unexported fields
}
FifoQueue implement abstract quene
func NewNamedQueue ¶
NewNamedQueue create a new work queue with name
func (*FifoQueue) Done ¶
func (f *FifoQueue) Done(item interface{})
Done make processing item to be done
func (*FifoQueue) Shutdown ¶
func (f *FifoQueue) Shutdown()
Shutdown close the queue and exit all processing items
func (*FifoQueue) ShuttingDown ¶
ShuttingDown check current shutting down state
Click to show internal directories.
Click to hide internal directories.