things

package
v0.31.1 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2025 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeHandler

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

MakeHandler returns a HTTP handler for API endpoints.

Types

type ThingsPageRes

type ThingsPageRes struct {
	Things []thingRes `json:"things"`
	// contains filtered or unexported fields
}

func (ThingsPageRes) Code

func (res ThingsPageRes) Code() int

func (ThingsPageRes) Empty

func (res ThingsPageRes) Empty() bool

func (ThingsPageRes) Headers

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

Jump to

Keyboard shortcuts

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