Documentation ¶
Overview ¶
Package RFC contains ontology values that are defined in RFCs, BCPs, and other miscellaneous standards.
Index ¶
- type RFCOntology
- func (o *RFCOntology) GetByName(name string) (rdf.RDFNode, error)
- func (o *RFCOntology) Load() ([]rdf.RDFNode, error)
- func (o *RFCOntology) LoadAsAlias(s string) ([]rdf.RDFNode, error)
- func (o *RFCOntology) LoadElement(name string, payload map[string]interface{}) ([]rdf.RDFNode, error)
- func (o *RFCOntology) LoadSpecificAsAlias(alias, name string) ([]rdf.RDFNode, error)
- func (o *RFCOntology) SpecURI() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RFCOntology ¶
type RFCOntology struct {
Package string
}
RFCOntology represents standards and values that originate from RFC specifications.
func (*RFCOntology) GetByName ¶
func (o *RFCOntology) GetByName(name string) (rdf.RDFNode, error)
GetByName obtains a bare node by name.
func (*RFCOntology) Load ¶
func (o *RFCOntology) Load() ([]rdf.RDFNode, error)
Load without an alias.
func (*RFCOntology) LoadAsAlias ¶
func (o *RFCOntology) LoadAsAlias(s string) ([]rdf.RDFNode, error)
LoadAsAlias loads with the given alias.
func (*RFCOntology) LoadElement ¶
func (o *RFCOntology) LoadElement(name string, payload map[string]interface{}) ([]rdf.RDFNode, error)
LoadElement does nothing.
func (*RFCOntology) LoadSpecificAsAlias ¶
func (o *RFCOntology) LoadSpecificAsAlias(alias, name string) ([]rdf.RDFNode, error)
LoadSpecificAsAlias loads a specific item with a given alias.
func (*RFCOntology) SpecURI ¶
func (o *RFCOntology) SpecURI() string
SpecURI returns the RFC specifications URI.
Click to show internal directories.
Click to hide internal directories.