dashboard

package
v0.0.0-...-a7a8f6c Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cfg

type Cfg struct {
	Addr         string
	UI           string
	UIPrefix     string
	ProphetAddrs []string
}

Cfg dashboard cfg

type Dashboard

type Dashboard struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

Dashboard an api dashboard server

func NewDashboard

func NewDashboard(cfg Cfg, api core.QueryAPI, manual core.ManualAPI) *Dashboard

NewDashboard returns a dashboard server

func (*Dashboard) Start

func (s *Dashboard) Start() error

Start start the dashboard

func (*Dashboard) Stop

func (s *Dashboard) Stop() error

Stop stop the dashboard

Jump to

Keyboard shortcuts

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