deviceshifuhttp

package
v0.35.0 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

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

func (*DeviceShifuHTTP) Stop

func (ds *DeviceShifuHTTP) Stop() error

Stop stop http server

type HandlerMetaData

type HandlerMetaData struct {
	// contains filtered or unexported fields
}

HandlerMetaData MetaData for HTTPhandler

Jump to

Keyboard shortcuts

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