ui

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2020 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UI

type UI struct {
	Version      string
	DB           *db.Storage
	Config       *config.Config
	DownloadPath string
	Logger       *wlog.WaterLog
	// contains filtered or unexported fields
}

UI is the structure containing all the ui elements, and the link to the database and config

func (*UI) Init

func (i *UI) Init()

Init will set all the unexported fields needed for the application to run.

func (*UI) Run

func (i *UI) Run() error

Run will execute the application

func (*UI) UpdateLoop added in v0.2.0

func (i *UI) UpdateLoop(interval time.Duration)

UpdateLoop runs feed updates at the specified interval

Jump to

Keyboard shortcuts

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