Documentation
¶
Index ¶
- func DeleteT[T CatalogType](v T, oid schema.OID)
- func Find(prefix schema.OID, suffix schema.Suffix, value any) (schema.OID, bool)
- func FindController(deviceID uint32) schema.OID
- func GetBool(oid schema.OID, suffix schema.Suffix) (bool, bool)
- func GetDoorDeviceDoor(door schema.OID) uint8
- func GetDoorDeviceID(door schema.OID) uint32
- func GetDoors() []schema.OID
- func GetGroups() []schema.OID
- func GetUint8(oid schema.OID, suffix schema.Suffix) (uint8, bool)
- func GetV(oid schema.OID, suffix schema.Suffix) interface{}
- func HasGroup(oid schema.OID) bool
- func Init(c Catalog)
- func Join(p *[]schema.Object, q ...schema.Object)
- func NewObject(oid schema.OID, value any) schema.Object
- func NewObject2(oid schema.OID, suffix schema.Suffix, value any) schema.Object
- func NewT[T CatalogType](v T) schema.OID
- func Put(oid schema.OID, v any)
- func PutT[T CatalogType](v T)
- func PutV(oid schema.OID, suffix schema.Suffix, v any)
- type Catalog
- type CatalogCard
- type CatalogController
- type CatalogDoor
- type CatalogEvent
- type CatalogGroup
- type CatalogInterface
- type CatalogLogEntry
- type CatalogType
- type CatalogUser
- type Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteT ¶
func DeleteT[T CatalogType](v T, oid schema.OID)
func FindController ¶
func GetDoorDeviceDoor ¶
func GetDoorDeviceID ¶
func NewT ¶
func NewT[T CatalogType](v T) schema.OID
func PutT ¶
func PutT[T CatalogType](v T)
Types ¶
type Catalog ¶
type Catalog interface { NewT(any) schema.OID PutT(any, schema.OID) DeleteT(any, schema.OID) ListT(schema.OID) []schema.OID HasT(any, schema.OID) bool GetV(schema.OID, schema.Suffix) any Put(schema.OID, any) PutV(schema.OID, schema.Suffix, any) Find(prefix schema.OID, suffix schema.Suffix, value any) (schema.OID, bool) FindController(v CatalogController) schema.OID GetDoorDeviceID(door schema.OID) uint32 GetDoorDeviceDoor(door schema.OID) uint8 }
type CatalogCard ¶
func (CatalogCard) TypeOf ¶
func (t CatalogCard) TypeOf() Type
type CatalogController ¶
func (CatalogController) TypeOf ¶
func (t CatalogController) TypeOf() Type
type CatalogDoor ¶
func (CatalogDoor) TypeOf ¶
func (t CatalogDoor) TypeOf() Type
type CatalogEvent ¶
func (CatalogEvent) TypeOf ¶
func (t CatalogEvent) TypeOf() Type
type CatalogGroup ¶
func (CatalogGroup) TypeOf ¶
func (t CatalogGroup) TypeOf() Type
type CatalogInterface ¶
func (CatalogInterface) TypeOf ¶
func (t CatalogInterface) TypeOf() Type
type CatalogLogEntry ¶
func (CatalogLogEntry) TypeOf ¶
func (t CatalogLogEntry) TypeOf() Type
type CatalogType ¶
type CatalogType interface { CatalogInterface | CatalogController | CatalogDoor | CatalogCard | CatalogGroup | CatalogEvent | CatalogLogEntry | CatalogUser // contains filtered or unexported methods }
type CatalogUser ¶
func (CatalogUser) TypeOf ¶
func (t CatalogUser) TypeOf() Type
Click to show internal directories.
Click to hide internal directories.