gen

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2022 License: Apache-2.0 Imports: 0 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CategoryMetadata

type CategoryMetadata struct {
	Name     string
	Category int
}

CategoryMetadata represents an accessory category metadata entry

type CharacteristicMetadata

type CharacteristicMetadata struct {
	Constraints interface{} `json:Constraints,omitempty`
	Format      string
	Name        string
	Permissions []string
	Properties  []string `json:Properties,omitempty`
	UUID        string
	Unit        string `json:Unit,omitempty`
}

CharacteristicMetadata represents a characteristic metadata entry

type Metadata

type Metadata struct {
	Categories      []*CategoryMetadata
	Characteristics []*CharacteristicMetadata
	Services        []*ServiceMetadata
}

Metadata represents the data in a HomeKit metadata file

type ServiceMetadata

type ServiceMetadata struct {
	RequiredCharacteristics []string
	OptionalCharacteristics []string
	Name                    string
	UUID                    string
}

ServiceMetadata represents a service metadata entry

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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