💾 Archived View for code.pfad.fr › gohmekit › contrib › fake captured on 2023-07-10 at 13:23:25. Gemini links have been rewritten to link to archived content

View Raw

More Information

➡️ Next capture (2023-09-08)

-=-=-=-=-=-=-

fake package - code.pfad.fr/gohmekit

import "code.pfad.fr/gohmekit/contrib/fake"

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)

Files

camera_rtp_stream_management_service.go

doorbell.go

image.go

Forge

https://codeberg.org/pfad.fr/gohmekit

git clone

https://codeberg.org/pfad.fr/gohmekit
git@codeberg.org:pfad.fr/gohmekit