Documentation ¶
Index ¶
Constants ¶
View Source
const (
DeviceNameHeaderField = "Device-Name"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandlineHandlerMetadata ¶
type CommandlineHandlerMetadata struct {
// contains filtered or unexported fields
}
CommandlineHandlerMetadata MetaData for HTTPCommandline handler
type DeviceCommandHandlerHTTP ¶
type DeviceCommandHandlerHTTP struct { HandlerMetaData *HandlerMetaData // contains filtered or unexported fields }
DeviceCommandHandlerHTTP handler for http
type DeviceCommandHandlerHTTPCommandline ¶
type DeviceCommandHandlerHTTPCommandline struct { CommandlineHandlerMetadata *CommandlineHandlerMetadata // contains filtered or unexported fields }
DeviceCommandHandlerHTTPCommandline handler for http commandline
type DeviceShifuHTTP ¶
type DeviceShifuHTTP struct {
// contains filtered or unexported fields
}
DeviceShifuHTTP deviceshifu for HTTP
func New ¶
func New(deviceShifuMetadata *deviceshifubase.DeviceShifuMetaData) (*DeviceShifuHTTP, error)
New This function creates a new Device Shifu based on the configuration
func (*DeviceShifuHTTP) Start ¶
func (ds *DeviceShifuHTTP) Start(stopCh <-chan struct{}) error
Start start http telemetry
type HandlerMetaData ¶
type HandlerMetaData struct {
// contains filtered or unexported fields
}
HandlerMetaData MetaData for HTTPhandler
Click to show internal directories.
Click to hide internal directories.