cloud

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cloud

type Cloud struct {
	Config   *lib.Config   `json:"-"`
	Services []lib.Service `json:"services"`
}

func New

func New(config *lib.Config) *Cloud

func (*Cloud) AddService

func (c *Cloud) AddService(id string, name string, client lib.ServiceClient) error

func (*Cloud) JSON

func (c *Cloud) JSON() string

func (*Cloud) MenuText added in v1.1.0

func (c *Cloud) MenuText(t *template.Template) string

func (*Cloud) RefreshAll

func (c *Cloud) RefreshAll()

func (*Cloud) Text

func (c *Cloud) Text() string

func (*Cloud) Waybar

func (c *Cloud) Waybar(t *template.Template) string

type WaybarOutput

type WaybarOutput struct {
	Text    string `json:"text"`
	Tooltip string `json:"tooltip"`
	Alt     string `json:"alt"`
	Class   string `json:"class"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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