Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProcessType ¶
type ProcessType interface {
Process(func(item interface{}) error)
}
type ProcessingQueue ¶
type ProcessingQueue struct {
*Queue
}
func (*ProcessingQueue) Process ¶
func (p *ProcessingQueue) Process(f func(item interface{}) error) error
type QueueAddType ¶
type QueueAddType interface {
Add(interface{})
}
type QueueType ¶
type QueueType interface { QueueAddType Get() (interface{}, bool) Done(interface{}) Remove(interface{}) Close() Len() int }
Click to show internal directories.
Click to hide internal directories.