resources

package
v2.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2025 License: Apache-2.0 Imports: 4 Imported by: 3 modules, 9 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Discoverable Resources https://github.com/openconnectivityfoundation/core/blob/master/swagger2.0/oic.wk.res.swagger.json

Index

Constants

View Source
const (
	ResourceType = "oic.wk.res"
	ResourceURI  = "/oic/res"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BaselineRepresentation

type BaselineRepresentation struct {
	Interfaces    []string             `json:"if,omitempty"`
	ResourceTypes []string             `json:"rt,omitempty"`
	Links         schema.ResourceLinks `json:"links"`
}

type BaselineResourceDiscovery

type BaselineResourceDiscovery []BaselineRepresentation

type BatchRepresentation

type BatchRepresentation struct {
	HrefRaw       string          `json:"href"`
	ETag          []byte          `json:"etag"`
	Content       cbor.RawMessage `json:"rep"`
	ResourceTypes []string        `json:"rt,omitempty"`
}

func (BatchRepresentation) DeviceID

func (v BatchRepresentation) DeviceID() string

func (BatchRepresentation) Href

func (v BatchRepresentation) Href() string

type BatchResourceDiscovery

type BatchResourceDiscovery []BatchRepresentation

func (BatchResourceDiscovery) Len

func (v BatchResourceDiscovery) Len() int

func (BatchResourceDiscovery) Less

func (v BatchResourceDiscovery) Less(i, j int) bool

func (BatchResourceDiscovery) Sort

func (v BatchResourceDiscovery) Sort()

func (BatchResourceDiscovery) Swap

func (v BatchResourceDiscovery) Swap(i, j int)

Jump to

Keyboard shortcuts

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