qos

package
v2.1.3 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AsyncEntries = EmptyAsyncRepo()
View Source
var SyncEntries = EmptySyncRepo()

Functions

func EmptyAsyncRepo added in v2.0.18

func EmptyAsyncRepo() entriesRepo

func EmptySyncRepo added in v2.0.18

func EmptySyncRepo() entriesRepo

func ListSyncEntries

func ListSyncEntries(c *gin.Context)

func RunSyncEntryEndpoint

func RunSyncEntryEndpoint(c *gin.Context)

Types

type Entry

type Entry interface {
	Run() float64
	Name() string
}

func NewFunctionEntry

func NewFunctionEntry(name string, action func() float64) Entry

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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