service

package module
v0.0.0-...-9e845d5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunService

func RunService(cf string, stopChan chan struct{})

Types

type Config

type Config struct {
	DayTheme   string // as reported by lookandfeeltool
	NightTheme string // as reported by lookandfeeltool
	Location   string
	APIKey     string // OpenWeatherMap API Key
}

func FromFile

func FromFile(f string) (*Config, error)

func (*Config) ValidateConfig

func (c *Config) ValidateConfig() bool

Jump to

Keyboard shortcuts

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