resources

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2022 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DisplayMFATmpl *template.Template = template.Must(template.New("").Parse(mfaDisplayTmplt))
View Source
var InterfaceTemplate *template.Template = template.Must(template.New("").Funcs(template.FuncMap{"StringsJoin": strings.Join}).Parse(interfaceTemplate))
View Source
var MfaSuccess string

Not a template

View Source
var PromptTmpl *template.Template = template.Must(template.New("").Parse(mfaPromptTmplt))
View Source
var Static embed.FS

Functions

This section is empty.

Types

type Interface

type Interface struct {
	ClientPrivateKey string
	ClientAddress    string

	ServerAddress     string
	ServerPublicKey   string
	CapturedAddresses []string
	DNS               []string
}

type MfaDisplay

type MfaDisplay struct {
	ImageData   string
	AccountName string
	Key         string
	Message     string
}

type MfaPrompt

type MfaPrompt struct {
	Message  string
	HelpMail string
}

Jump to

Keyboard shortcuts

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