staticresolver

package
v4.2.2 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2025 License: GPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	IDs []string `yaml:"ids"`
}

Config file schema

type Resolver

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

Resolver holds the pre-loaded host IDs from the configuration

func (*Resolver) Resolve

func (r *Resolver) Resolve(_ context.Context, _ string) (hosts.Hosts, error)

Resolve hosts based on the pre-loaded hosts in the configuration

Jump to

Keyboard shortcuts

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