Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CollectResource ¶
type CollectResource struct { Collections []string `json:"collections,omitempty"` Data []bson.M `json:"data,omitempty"` }
CollectResource : connector struct
type Connector ¶
type Connector struct { Name string `json:"name"` Icon string `json:"icon"` Adress string `json:"adress"` IsRenderer bool `json:"isRenderer"` IsSensor bool `json:"isSensor"` CanAnswer bool `json:"canAnswer"` }
Connector : connector struct
type DioResource ¶
type DioResource struct { Pin int `json:"pin"` Sender uint64 `json:"sender"` Interuptor uint64 `json:"interruptor"` On bool `json:"on"` }
DioResource : dio resource struct
type GetCollectResource ¶
type GetCollectResource struct {
Collections []GetCollectResourceDetail `json:"collections,omitempty"`
}
GetCollectResource query
type GetCollectResourceDetail ¶
type GetCollectResourceDetail struct { Name string `json:"name,omitempty"` Entity bson.M `json:"entity,omitempty"` }
GetCollectResourceDetail detail
type MessageResource ¶
MessageResource : MessageResource resource struct
type Mfrc522DumpResource ¶
type Mfrc522DumpResource struct { Key [6]byte `json:"key"` Uid [5]byte `json:"uid"` TagType string `json:"tagType"` // DumpClassic1K request Sectors []Mfrc522Sector16 `json:"sectors"` }
Mfrc522DumpResource : Mfrc522DumpResource resource struct
type Mfrc522Resource ¶
type Mfrc522Resource struct { Key [6]byte `json:"key"` Uid [5]byte `json:"uid"` Status int `json:"status"` Len int `json:"len"` Data []byte `json:"data"` // DumpClassic1K request Sectors [64]Mfrc522Sector16 `json:"sectors"` }
Mfrc522Resource : mfrc522Resource resource struct
type Mfrc522Sector16 ¶
type Mfrc522Sector16 struct {
Values [16]byte `json:"values"`
}
Mfrc522Resource : mfrc522Resource resource struct
type Mfrc522WriteResource ¶
type Mfrc522WriteResource struct { Key [6]byte `json:"key"` Uid [5]byte `json:"uid"` TagType string `json:"tagType"` // WriteClassic1K request Sector byte `json:"sector"` Data Mfrc522Sector16 `json:"sector"` }
Mfrc522WriteResource : Mfrc522WriteResource resource struct
type PostCollectResource ¶
type PostCollectResource struct { Find bson.M `json:"find,omitempty"` OrderBy []string `json:"orderby,omitempty"` Pipes []bson.M `json:"pipes,omitempty"` }
PostCollectResource post query
type RazberryResource ¶
type RazberryResource struct { }
RazberryResource : razberry resource struct
type TeleinfoResource ¶
TeleinfoResource : teleinfo resource struct
Click to show internal directories.
Click to hide internal directories.