Back to

Package domains

Latest Go to latest

The latest major version is .

Published: Jul 30, 2020 | License: MIT | Module:


func Configure

func Configure()

Configure see main.go configure()

func IsUnderManagement

func IsUnderManagement(email string) bool

IsUnderManagement check if an email is under vouch-managed domain

func Matches

func Matches(s string) string

Matches returns one of the domains we're configured for

type ByLengthDesc

type ByLengthDesc []string

ByLengthDesc sort from

func (ByLengthDesc) Len

func (s ByLengthDesc) Len() int

func (ByLengthDesc) Less

func (s ByLengthDesc) Less(i, j int) bool

this differs by offing the longest first

func (ByLengthDesc) Swap

func (s ByLengthDesc) Swap(i, j int)

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier