srv

package
v0.0.0-...-9423480 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCenteredLabel

func AddCenteredLabel(img *image.RGBA, y int, label string)

func AddLabel

func AddLabel(img *image.RGBA, x, y int, label string)

func AddNumber

func AddNumber(img draw.Image, position image.Point, number int64)

Types

type Mode

type Mode int64
const (
	UNDEFINED_MODE Mode = iota
	CLOCK_MODE
	ALARM_SETTING_MODE
	END_MODE
)
type PopUp int64
const (
	NO_POPUP PopUp = iota
	VOLUME_POPUP
	SNOOZE_OFF_POPUP
)

type ServerApp

type ServerApp struct {
	*config.ServerConfig
	// contains filtered or unexported fields
}

func NewServerApp

func NewServerApp(configDir string, debugMode bool, simulationMode bool) *ServerApp

func (*ServerApp) Start

func (s *ServerApp) Start()

func (*ServerApp) Stop

func (s *ServerApp) Stop(halt bool)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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