resolver

package
v1.9.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: MPL-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package resolver resolves the node names.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Resolver

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

Resolver resolves the node names.

func New

func New(db map[string]string) Resolver

New creates a new Resolver.

func (*Resolver) Resolve

func (n *Resolver) Resolve(node string) string

Resolve attempts to resolve the node name.

Jump to

Keyboard shortcuts

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