types

package
v0.0.0-...-91ef8d6 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2017 License: Apache-2.0 Imports: 1 Imported by: 0

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

type MessageResource struct {
	TagType string `json:"tagType"`
	TagUuid string `json:"tagUuid"`
}

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

type TeleinfoResource struct {
	Entries map[string]string `json:"entries"`
}

TeleinfoResource : teleinfo resource struct

Jump to

Keyboard shortcuts

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