Documentation ¶
Index ¶
- type Config
- type DeviceConfig
- type Gateway
- func (g *Gateway) Algorithm() string
- func (g *Gateway) DeviceID() string
- func (g *Gateway) Devices() map[string]cloud.Device
- func (g *Gateway) Location() string
- func (g *Gateway) Name() string
- func (g *Gateway) PrivateKey() string
- func (g *Gateway) ProjectID() string
- func (g *Gateway) Region() string
- func (g *Gateway) RegistryID() string
- func (g *Gateway) Stop() error
- func (g *Gateway) StorePath() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Name string `yaml:"name"` Location string `yaml:"location,omitempty"` Devices []*DeviceConfig `yaml:"devices"` }
Config ...
type DeviceConfig ¶
type DeviceConfig struct { Kind string `yaml:"kind"` DeviceID string `yaml:"deviceID"` PrivateKey string `yaml:"privateKey"` Algorithm string `yaml:"algorithm"` }
DeviceConfig ...
Click to show internal directories.
Click to hide internal directories.