throttle

package
v0.1.11 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2015 License: GPL-3.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

New creates and returns a ready to used ServerStatusHandler.

Types

type Configuration added in v0.1.11

type Configuration struct {
	// Speed is the speed to which to throttle
	Speed types.BytesSize `json:"speed"`
}

Configuration is the struct the handler settings will be unmarshalled in

Jump to

Keyboard shortcuts

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