core

package
v0.0.0-...-f8fec48 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2019 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadConfig

func LoadConfig() (*model.Config, error)

LoadConfig resolve core settings

func LoadProviderPlugin

func LoadProviderPlugin() (extension.IProvider, error)

LoadProviderPlugin resolve data provider extension

func LoadSoundPlugin

func LoadSoundPlugin() (extension.ISound, error)

LoadSoundPlugin resolve sound extension

Types

type Kernel

type Kernel struct {
	// contains filtered or unexported fields
}

Kernel core of whole application it's managing states and data communications

func NewKernel

func NewKernel(dataProvider extension.IProvider, sound extension.ISound, cfg *model.Config) *Kernel

NewKernel of monitoring

func (*Kernel) Run

func (k *Kernel) Run(t terminalapi.Terminal) error

Run main process to handle dashboard and update it with data from provider

Jump to

Keyboard shortcuts

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