standards

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2026 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package standards provides international protocol standard integration.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Registry

type Registry struct {
	Standards []Standard
}

Registry holds known standards.

func NewRegistry

func NewRegistry() *Registry

NewRegistry creates a new standards registry.

func (*Registry) Describe

func (r *Registry) Describe() string

Describe returns a text listing.

func (*Registry) FindByOrg

func (r *Registry) FindByOrg(org StandardOrg) []Standard

FindByOrg finds standards by organization.

func (*Registry) FindByProtocol

func (r *Registry) FindByProtocol(protocol string) []Standard

FindByProtocol finds standards for a protocol.

type Standard

type Standard struct {
	ID       string      `json:"id"`
	Title    string      `json:"title"`
	Org      StandardOrg `json:"org"`
	Version  string      `json:"version"`
	Protocol string      `json:"protocol"`
	URL      string      `json:"url"`
}

Standard represents a protocol standard reference.

type StandardOrg

type StandardOrg string

StandardOrg represents a standards organization.

const (
	OrgIETF StandardOrg = "IETF"
	OrgIEEE StandardOrg = "IEEE"
	OrgITU  StandardOrg = "ITU-T"
	Org3GPP StandardOrg = "3GPP"
)

Jump to

Keyboard shortcuts

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