things

package
v0.40.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrMissingConfig = errors.New("missing config")

Functions

func MakeHandler

func MakeHandler(tracer opentracing.Tracer, svc uiconfigs.Service, mux *bone.Mux, logger log.Logger) *bone.Mux

MakeHandler returns a HTTP handler for API endpoints.

Types

type ThingConfigResponse

type ThingConfigResponse struct {
	ThingID string         `json:"thing_id,omitempty"`
	GroupID string         `json:"group_id,omitempty"`
	Config  map[string]any `json:"config,omitempty"`
}

func (ThingConfigResponse) Code

func (res ThingConfigResponse) Code() int

func (ThingConfigResponse) Empty

func (res ThingConfigResponse) Empty() bool

func (ThingConfigResponse) Headers

func (res ThingConfigResponse) Headers() map[string]string

Jump to

Keyboard shortcuts

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