memoryqueue

package
v0.0.0-...-2749a05 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2022 License: MIT Imports: 1 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL