dashboard

package
v0.0.0-...-5c26a86 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, urls []string, views []View, alertc chan string, done context.CancelFunc) error

Run displays the statistics, and alerts in our terminal

Types

type View

type View struct {
	UpdateInterval int   `json:"updateInterval"`
	TimeFrame      int64 `json:"timeFrame"`
}

View represents one entity on the Gui views display stats for a user-defined timeframe they are updated following a user-defined interval

Jump to

Keyboard shortcuts

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