exampleapp

package
v4.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(_ context.Context) (*exampleApp, error)

New sets up our example app. We make use of the preference loading/saving in the agent to provide a file for our app preferences at ~/.config/go-hass-anything/exampleApp-preferences.toml. We can store whatever preferences our app needs in this file by providing a map[string]any that maps preferences to values.

Types

This section is empty.

Jump to

Keyboard shortcuts

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