package
1.0.0
Repository: https://github.com/go-fed/activity.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
Package RFC contains ontology values that are defined in RFCs, BCPs, and other miscellaneous standards.
No description provided by the author
No description provided by the author

# Functions

DeserializeValueFunction is a helper for creating a value's Deserialize function.
IsKeyApplicable returns true if the key has a spec or alias prefix and the property is equal to the desired name.
LessFunction is a helper for creating a value's Less function.
NewRDFRegistry returns a new RDFRegistry.
ParseVocabularies parses the provided inputs in order as an ActivityStreams context that specifies one or more extension vocabularies.
SerializeValueFunction is a helper for creating a value's Serialize function.
SplitAlias splits a possibly-aliased string, without splitting on the colon if it is part of the http or https spec.
ToHttpAndHttps converts a URI to both its http and https versions.

# Constants

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
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

# Structs

AliasedDelegate will call the delegated RDFNode if the passed in keys conform to either the spec or alias.
ContainerLD is an RDFNode that delegates to an RDFNode but only at this next level.
IndexLD does nothing.
ParsedVocabulary is the internal data structure produced after parsing the definition of an ActivityStream vocabulary.
ParsingContext contains the results of the parsing as well as scratch space required for RDFNodes to be able to statefully apply changes.
RDFOntology is an Ontology for the RDF namespace.
RDFRegistry manages the different ontologies needed to determine the generated Go code.
ReferenceOntology wraps a previously-parsed spec so it can be made known to the registry.
Vocabulary contains the type, property, and value definitions for a single ActivityStreams or extension vocabulary.
VocabularyExample documents an Example for an ActivityStream type or property in the vocabulary.
VocabularyProperty represents a single ActivityStream property type in a vocabulary.
VocabularyReference refers to another Vocabulary reference, either a VocabularyType, VocabularyValue, or a VocabularyProperty.
VocabularyType represents a single ActivityStream type in a vocabulary.
VocabularyValue represents a value type that properties can take on.

# Interfaces

ExampleAdder is a utility interface for the rdf Vocabulary types.
NameGetter is a utility interface for the rdf Vocabulary types.
NameSetter is a utility interface for the rdf Vocabulary types.
NotesSetter is a utility interface for the rdf Vocabulary types.
Ontology returns different RDF "actions" or "handlers" that are able to interpret the schema definitions as actions upon a set of data, specific for this ontology.
RDFNode is able to operate on a specific key if it applies towards its ontology (determined at creation time).
URISetter is a utility interface for the rdf Vocabulary types.

# Type aliases

JSONLD is an alias for the generic map of keys to interfaces, presumably parsed from a JSON-encoded context definition file.