models

package
v0.0.0-...-b289748 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2024 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GoRoutinePool

type GoRoutinePool interface {
	Schedule(task Task)
	Stop()
}

GoRoutinePool is a pull of Go routines with associated locking mechanism.

type StatsChanVariable

type StatsChanVariable struct {
	Varname string
	Value   any  // updated value to publish (int , float, etc)
	Inc     bool // Treat the count as an increment as opposite to the final value.
}

type Task

type Task func()

Task represents a work task to be run on the specified thread pool.

Jump to

Keyboard shortcuts

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