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)
Click to show internal directories.
Click to hide internal directories.