Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IQueue ¶
type IQueue interface {
Push(data interface{}, priority int)
}
type Queue ¶
type Queue struct {
// contains filtered or unexported fields
}
Queue is main top structure.
type SimpleQueue ¶
type SimpleQueue struct {
// contains filtered or unexported fields
}
SimpleQueue is simple case of main top structure.
func (*SimpleQueue) Push ¶
func (q *SimpleQueue) Push(data interface{}, _ int)
Push pushes a value with a given priority into the queue.
Click to show internal directories.
Click to hide internal directories.