Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MemoryQueue ¶
type MemoryQueue struct {
// contains filtered or unexported fields
}
func NewMemoryQueue ¶
func NewMemoryQueue(size int) *MemoryQueue
func (*MemoryQueue) Enqueue ¶
func (q *MemoryQueue) Enqueue(BlockNum int64) bool
func (*MemoryQueue) Subscribe ¶
func (q *MemoryQueue) Subscribe() chan int64
Click to show internal directories.
Click to hide internal directories.