contentqueue

package
v0.3.7 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2022 License: Apache-2.0, MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewQueueManager

func NewQueueManager(isDisabled bool, dealSizeLimit int64) *queueManager

Types

type IQueueManager

type IQueueManager interface {
	ToCheck(contID uint, contSize int64)
	Add(content uint, size int64, wait time.Duration)
	NextContent() chan uint
	Len() int
	NextEvent() time.Time
}

Jump to

Keyboard shortcuts

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