discovery

package
v2.5.2 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PatchLinks(links schema.ResourceLinks, deviceID string) schema.ResourceLinks

Types

type GetLinksHandler

type GetLinksHandler func(*net.Request) schema.ResourceLinks

type Resource

type Resource struct {
	*resources.Resource
	// contains filtered or unexported fields
}

func New

func New(uri string, getLinks GetLinksHandler) *Resource

func (*Resource) Get

func (d *Resource) Get(request *net.Request) (*pool.Message, error)

Jump to

Keyboard shortcuts

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