hash

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: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetModule

func GetModule() common.Module

Types

type Hash

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

func (*Hash) GetDescription

func (m *Hash) GetDescription() string

func (*Hash) GetLastRun

func (m *Hash) GetLastRun() string

func (*Hash) GetName

func (m *Hash) GetName() string

func (*Hash) GetRunInterval

func (m *Hash) GetRunInterval() int64

func (*Hash) GetRunIntervalOnBattery

func (m *Hash) GetRunIntervalOnBattery() int64

func (*Hash) GetSlug

func (m *Hash) GetSlug() string

func (*Hash) GetWaybarOutput

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

func (*Hash) IsEnabled

func (m *Hash) IsEnabled() bool

func (*Hash) Run

func (m *Hash) Run() error

func (*Hash) RunCommand

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

func (*Hash) SaveLastRun

func (m *Hash) SaveLastRun()

func (*Hash) SuspendOnBattery

func (m *Hash) SuspendOnBattery() bool

func (*Hash) WriteOutput

func (m *Hash) WriteOutput() error

type Hashed

type Hashed struct {
	Name  string
	Value string
}

func HashAll

func HashAll(text string) []*Hashed

Jump to

Keyboard shortcuts

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