fake

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDoorbell

func NewDoorbell(info accessory.Basic, imageResource func(w, h int, ringedAgo time.Duration) ([]byte, error)) (accessory.WithResource, func(characteristic.ProgrammableSwitchEvent_Type))

Types

type JPEGCache

type JPEGCache[Parameter comparable] struct {
	Original func(p Parameter) (image.Image, error)
	// contains filtered or unexported fields
}

func (*JPEGCache[Parameter]) GetImage

func (j *JPEGCache[Parameter]) GetImage(w, h int, p Parameter) ([]byte, error)

Jump to

Keyboard shortcuts

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