Help us shape the future of Go! Take the 2026 Go Developer Survey

dig

package
v0.4.120 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Package dig implements the dig command chain.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() *cobra.Command

func ResolverForOrg

func ResolverForOrg(ctx context.Context, c *agent.Client, orgSlug string) (*net.Resolver, string, error)

ResolverForOrg takes a connection to the wireguard agent and an organization and returns a working net.Resolver for DNS for that organization, along with the address of the nameserver.

Types

This section is empty.

Jump to

Keyboard shortcuts

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