Versions in this module Expand all Collapse all v1 v1.2.4 Jan 3, 2021 Changes in this version + type GetImageFunc func(width, height uint) (*image.Image, error) + type ImageRequest struct + Height uint + Type string + Width uint + type PairSetup struct + func NewPairSetup(context hap.Context, device hap.SecuredDevice, database db.Database, ...) *PairSetup + func (endpoint *PairSetup) ServeHTTP(response http.ResponseWriter, request *http.Request) + type PairVerify struct + func NewPairVerify(context hap.Context, database db.Database) *PairVerify + func (endpoint *PairVerify) ServeHTTP(response http.ResponseWriter, request *http.Request) + type Pairing struct + func NewPairing(controller *pair.PairingController, emitter event.Emitter) *Pairing + func (endpoint *Pairing) ServeHTTP(response http.ResponseWriter, request *http.Request) + type Resource struct + func NewResource(context hap.Context, imgFn GetImageFunc) *Resource + func (handler *Resource) ServeHTTP(response http.ResponseWriter, request *http.Request)