rfc

package
v1.5.0-gts Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Overview

Package RFC contains ontology values that are defined in RFCs, BCPs, and other miscellaneous standards.

Index

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.

Jump to

Keyboard shortcuts

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