index

package
v0.0.0-...-8f0b1ba Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2021 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const GraphHeight = 28

GraphHeight controls the graph height.

Variables

This section is empty.

Functions

func IgnoreNetwork

func IgnoreNetwork(dev string)

IgnoreNetwork ignores a network device. This function is not thread-safe; it should only be called on init or main.

func Render

func Render(w io.Writer, r *http.Request, dbPath string, d time.Duration)

Render renders the index page asynchronously.

Types

type SnapshotTime

type SnapshotTime struct {
	Time string
	Dura time.Duration
}

SnapshotTime is a single snapshot time.

Jump to

Keyboard shortcuts

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