svcb

package
v0.0.0-...-10f18be Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ParamList

type ParamList []param

ParamList represents a list of key-value pairs for a SVCB RR. Exposing this should be enough

func (*ParamList) FromText

func (l *ParamList) FromText(rawparams []byte) error

FromText fills ParamList with a list of TinyDNS fields

func (*ParamList) ToText

func (l *ParamList) ToText(out *bytes.Buffer)

ToText outputs the TinyDNS-like format of ParamList to `out`

func (*ParamList) ToWire

func (l *ParamList) ToWire(out *bytes.Buffer) error

ToWire outputs the wire format of ParamList to `out`

Jump to

Keyboard shortcuts

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