Documentation
¶
Index ¶
Constants ¶
View Source
const ( StreamHeader = "X-Stream" StreamValue = "true" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeviceCert ¶
DeviceCert encoding for sending a device information, including device cert, onboard cert, and serial, if any
type OnboardCert ¶
type OnboardCert struct {
// a Cert for onboarding
//
// unique: true
// in: query
Cert []byte
// a Serial for onboarding
//
// unique: true
// in: query
Serial string
}
OnboardCert encoding for sending an onboard cert and serials via json swagger:parameters onboard
type Server ¶
type Server struct {
Port string
Address string
CertPath string
KeyPath string
SigningCertPath string
SigningKeyPath string
EncryptCertPath string
EncryptKeyPath string
DeviceManager driver.DeviceManager
CertRefresh int
// WebDir path to webfiles to serve. If empty, use embedded
WebDir string
}
Server an adam server
Click to show internal directories.
Click to hide internal directories.