camstartup

package
v1.0.1-0...-a908c99 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const APIV1Prefix = "/api/v1"

Variables

This section is empty.

Functions

func PutDriverConfig

func PutDriverConfig(name string, value []byte) error

func StartService

func StartService(serviceName string, serviceVersion string, driver dsModels.ProtocolDriver) error

func StartServiceWithHandler

func StartServiceWithHandler(
	serviceName string,
	serviceVersion string,
	driver dsModels.ProtocolDriver,
	initHandler func(lc logger.LoggingClient) http.Handler,
	staticFilePath string,
) error

Types

type ConfigChangeListener

type ConfigChangeListener interface {
	OnConfigChange(old map[string]string, new map[string]string)
}

type DService

type DService struct {
	*device.Service

	APIHandler http.Handler
	// contains filtered or unexported fields
}
var (
	Service DService
)

Jump to

Keyboard shortcuts

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