Versions in this module Expand all Collapse all v1 v1.3.2 Mar 10, 2020 v1.3.1 Mar 10, 2020 Changes in this version + type Accessories struct + func NewAccessories(c hap.AccessoriesHandler, mutex *sync.Mutex) *Accessories + func (handler *Accessories) ServeHTTP(response http.ResponseWriter, request *http.Request) + type Characteristics struct + func NewCharacteristics(context hap.Context, c hap.CharacteristicsHandler, mutex *sync.Mutex) *Characteristics + func (handler *Characteristics) ServeHTTP(response http.ResponseWriter, request *http.Request) + type GetImageFunc func(width, height uint) (*image.Image, error) + type Identify struct + func NewIdentify(h hap.IdentifyHandler) *Identify + func (i *Identify) ServeHTTP(response http.ResponseWriter, request *http.Request) + 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)