Documentation
¶
Overview ¶
Package simpleiot is a collection of Go code that is useful for implementing cloud and edge applications.
See http://simpleiot.org/ for more information.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
StoreType store.Type
DataDir string
HTTPPort string
DebugHTTP bool
DisableAuth bool
NatsServer string
NatsDisableServer bool
NatsPort int
NatsHTTPPort int
NatsTLSCert string
NatsTLSKey string
NatsTLSTimeout float64
AuthToken string
ParticleAPIKey string
}
Options used for starting Simple IoT
Directories
¶
| Path | Synopsis |
|---|---|
|
Package api implments the SIOT http interface.
|
Package api implments the SIOT http interface. |
|
Package assets includes generated code from embedded assets (frontend, etc).
|
Package assets includes generated code from embedded assets (frontend, etc). |
|
cmd
|
|
|
boltutil
command
|
|
|
edge
command
|
|
|
fetch
command
|
|
|
genji-index-test
command
|
|
|
modbus
command
|
|
|
modbus-client
command
|
|
|
modbus-server
command
|
|
|
particle
command
|
|
|
send-sms
command
|
|
|
siot
command
|
|
|
tof10120
command
|
|
|
Package contrib contains systemd example service files, etc.
|
Package contrib contains systemd example service files, etc. |
|
Package data contains key data structures that are used throughout the project.
|
Package data contains key data structures that are used throughout the project. |
|
Package file contains file utilties.
|
Package file contains file utilties. |
|
Package frontend includes web UI frontend code.
|
Package frontend includes web UI frontend code. |
|
Package gps contains code to parse GPS data.
|
Package gps contains code to parse GPS data. |
|
Package internal include protobuf definitions.
|
Package internal include protobuf definitions. |
|
Package modbus contains modbus RTU/TCP client/server code.
|
Package modbus contains modbus RTU/TCP client/server code. |
|
Package nats contains utilties for reading/writing data using NATS.
|
Package nats contains utilties for reading/writing data using NATS. |
|
Package natsserver is used to embed the NATS server in an application.
|
Package natsserver is used to embed the NATS server in an application. |
|
Package network contains drivers to manage various network interfaces including modems.
|
Package network contains drivers to manage various network interfaces including modems. |
|
Package node contains functionality to manage different types of nodes.
|
Package node contains functionality to manage different types of nodes. |
|
Package particle is used to interface with devices through the particle.io cloud.
|
Package particle is used to interface with devices through the particle.io cloud. |
|
Package respreader provides a convenient way to frame response data from devices that use prompt/response protocols such as Modbus, other RS485 protocols, and modem AT commands.
|
Package respreader provides a convenient way to frame response data from devices that use prompt/response protocols such as Modbus, other RS485 protocols, and modem AT commands. |
|
Package sensors implements code to read various sensors.
|
Package sensors implements code to read various sensors. |
|
Package store implements database store code -- currently Genji and Influxdb.
|
Package store implements database store code -- currently Genji and Influxdb. |
|
Package system implements system specific functionality.
|
Package system implements system specific functionality. |
|
Package tools is use to lock down versions of various tool packages we use.
|
Package tools is use to lock down versions of various tool packages we use. |
Click to show internal directories.
Click to hide internal directories.









