compression

package
v0.0.0-...-5abfbfe Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoSuchCompressionPointer = errors.New("compression: no such pointer")
	ErrNoSuchCompressionName    = errors.New("compression: no such name")
)

Functions

This section is empty.

Types

type Map

type Map struct {
	// contains filtered or unexported fields
}

Map holds data for compressing DNS messages.

func New

func New() Map

func (Map) Get

func (c Map) Get(name string) int

func (Map) Set

func (c Map) Set(name string, ptr int)

Jump to

Keyboard shortcuts

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