dnslink

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: Apache-2.0, MIT, Apache-2.0, + 1 more Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InlineDNS

func InlineDNS(s string) string

func Merge

func Merge(inputPaths []string, outputPath string) error

Types

type ConfigFixture

type ConfigFixture struct {
	DNSLinks map[string]DNSLink `yaml:"dnslinks"`
}
func MustOpenDNSLink(file string) *ConfigFixture
func OpenDNSLink(absPath string) (*ConfigFixture, error)

func (*ConfigFixture) MustGet

func (d *ConfigFixture) MustGet(id string) string
type DNSLink struct {
	Subdomain string `yaml:"subdomain"`
	Domain    string `yaml:"domain"`
	Path      string `yaml:"path"`
}

type DNSLinksAggregate

type DNSLinksAggregate struct {
	Domains    map[string]string `json:"domains"`
	Subdomains map[string]string `json:"subdomains"`
}

func Aggregate

func Aggregate(inputPaths []string) (*DNSLinksAggregate, error)

Jump to

Keyboard shortcuts

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