package
1.0.0-beta.26
Repository: https://github.com/tinyiot/thing-directory.git
Documentation: pkg.go.dev

# Functions

LoadedJSONSchemas checks whether any JSON Schema has been loaded into memory.
LoadJSONSchemas loads one or more JSON Schemas into memory.
ValidateTD performs input validation using one or more pre-loaded JSON Schemas If no schema has been pre-loaded, the function returns as if there are no validation errors.

# Constants

_directory._sub._wot._tcp.
_thing._sub._wot._tcp.
DNS-SD Types.
TD event types.
No description provided by the author
No description provided by the author
TD keys used by directory.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Media Types.
No description provided by the author

# Variables

DataSchemaTypeEnumValues are the allowed values allowed for DataSchema.DataType.

# Structs

An Interaction Affordance that allows to invoke a function of the Thing, which manipulates state (e.g., toggling a lamp on or off) or triggers a process on the Thing (e.g., dim a lamp over time).
API key authentication security configuration identified by the Vocabulary Term apikey (i.e., "scheme": "apikey").
No description provided by the author
Basic Authentication [RFC7617] security configuration identified by the Vocabulary Term basic (i.e., "scheme": "basic"), using an unencrypted username and password.
Bearer Token [RFC6750] security configuration identified by the Vocabulary Term bearer (i.e., "scheme": "bearer") for situations where bearer tokens are used independently of OAuth2.
Certificate-based asymmetric key security configuration conformant with [X509V3] identified by the Vocabulary Term cert (i.e., "scheme": "cert").
No description provided by the author
Digest Access Authentication [RFC7616] security configuration identified by the Vocabulary Term digest (i.e., "scheme": "digest").
No description provided by the author
An Interaction Affordance that describes an event source, which asynchronously pushes event data to Consumers (e.g., overheating alerts).
Communication metadata describing the expected response message.
A form can be viewed as a statement of "To perform an operation type operation on form context, make a request method request to submission target" where the optional form fields may further describe the required request.
Metadata of a Thing that shows the possible choices to Consumers, thereby suggesting how Consumers may interact with the Thing.
A link can be viewed as a statement of the form "link context has a relation type resource at link target", where the optional target attributes may further describe the resource.
Specifies both float and double.
OAuth2 authentication security configuration for systems conformant with [RFC6749] and [RFC8252], identified by the Vocabulary Term oauth2 (i.e., "scheme": "oauth2").
No description provided by the author
Proof-of-possession (PoP) token authentication security configuration identified by the Vocabulary Term pop (i.e., "scheme": "pop").
RFC7807 Problem Details (https://tools.ietf.org/html/rfc7807).
An Interaction Affordance that exposes state of the Thing.
Pre-shared key authentication security configuration identified by the Vocabulary Term psk (i.e., "scheme": "psk").
Raw public key asymmetric key security configuration identified by the Vocabulary Term public (i.e., "scheme": "public").
No description provided by the author
ThingDescription is the structured data describing a Thing.
ThingRegistration contains the registration information alphabetically sorted to match the TD map serialization.
No description provided by the author
Metadata of a Thing that provides version information about the TD document.

# Type aliases

No description provided by the author
No description provided by the author