fed

package
v1.5.6 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Fed contains federation specific DNS code.

Index

Constants

This section is empty.

Variables

View Source
var ErrExpectedKeyEqualsValue = errors.New("invalid format, must be key=value")

Functions

func ParseFederationsFlag

func ParseFederationsFlag(str string, federations map[string]string) error

ParseFederationsFlag parses the federations command line flag. The flag is a comma-separated list of zero or more "name=label" pairs, e.g. "a=b,c=d".

func ValidateDomain

func ValidateDomain(name string) error

ValidateDomain checks the validity of a federation label.

func ValidateName

func ValidateName(name string) error

ValidateName checks the validity of a federation name.

Types

This section is empty.

Jump to

Keyboard shortcuts

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