forex

package
v0.0.0-...-71090b4 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetModule

func GetModule() common.Module

Types

type Forex

type Forex struct {
	Name        string
	Description string
	Slug        string
	// contains filtered or unexported fields
}

func (*Forex) GetDescription

func (m *Forex) GetDescription() string

func (*Forex) GetLastRun

func (m *Forex) GetLastRun() string

func (*Forex) GetName

func (m *Forex) GetName() string

func (*Forex) GetRunInterval

func (m *Forex) GetRunInterval() int64

func (*Forex) GetRunIntervalOnBattery

func (m *Forex) GetRunIntervalOnBattery() int64

func (*Forex) GetSlug

func (m *Forex) GetSlug() string

func (*Forex) GetWaybarOutput

func (m *Forex) GetWaybarOutput() (*common.WaybarOutput, error)

func (*Forex) IsEnabled

func (m *Forex) IsEnabled() bool

func (*Forex) Run

func (m *Forex) Run() error

func (*Forex) RunCommand

func (m *Forex) RunCommand(name string, args []string) error

func (*Forex) SaveLastRun

func (m *Forex) SaveLastRun()

func (*Forex) SuspendOnBattery

func (m *Forex) SuspendOnBattery() bool

func (*Forex) WriteOutput

func (m *Forex) WriteOutput() error

type Row

type Row struct {
	Coin  string
	Name  string
	Price string
}

Jump to

Keyboard shortcuts

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