congestioncontrol

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2023 License: Apache-2.0, BSD-2-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NewEvents = event.CreateGroupConstructor(func() (newEvents *Events) {
	return &Events{
		Scheduler: scheduler.NewEvents(),
	}
})

NewEvents contains the constructor of the Events object (it is generated by a generic factory).

Functions

Types

type CongestionControl

type CongestionControl struct {
	Events *Events
	// contains filtered or unexported fields
}

func (*CongestionControl) Block

func (c *CongestionControl) Block(id models.BlockID) (block *scheduler.Block, exists bool)

func (*CongestionControl) LinkTo

func (c *CongestionControl) LinkTo(engine *engine.Engine)

func (*CongestionControl) Scheduler

func (c *CongestionControl) Scheduler() *scheduler.Scheduler

func (*CongestionControl) Shutdown

func (c *CongestionControl) Shutdown()

type Events

type Events struct {
	Scheduler *scheduler.Events

	event.Group[Events, *Events]
}

Directories

Path Synopsis
icca

Jump to

Keyboard shortcuts

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