price

package
v0.34.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2020 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Settings

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

func NewSettingsFromYAML

func NewSettingsFromYAML(name string, ymlConfig *config.Config, globalConfig *config.Config) *Settings

type Widget

type Widget struct {
	Result string

	RefreshInterval int
	// contains filtered or unexported fields
}

Widget define wtf widget to register widget later

func NewWidget

func NewWidget(settings *Settings) *Widget

NewWidget Make new instance of widget

func (*Widget) Refresh

func (widget *Widget) Refresh(wg *sync.WaitGroup)

Refresh & update after interval time

Jump to

Keyboard shortcuts

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