net

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package net contains assorted functions for working with net things like dns records and urls

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddOptions

func AddOptions(s string, opt interface{}) (string, error)

AddOptions adds the options to the URL.

func ConstructFqdn

func ConstructFqdn(name, domain string) string

ConstructFqdn is a simple helper to handle mapping of partial names and shortcuts to full names.

func DeconstructFqdn

func DeconstructFqdn(name, domain string) string

DeconstructFqdn pulls off the suffix, the opposite of above and gives us an "@" for the apex.

func Encode

func Encode(v url.Values, keys []string) string

Encode generates a URL string in order.

Types

This section is empty.

Jump to

Keyboard shortcuts

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