models

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2020 License: MPL-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CodesFile

type CodesFile struct {
	Checksum string `json:"checksum"`
	Codes    string `json:"codes"`
}

type Settings

type Settings struct {
	CodesLocation     string `json:"codesLocation"`
	DefaultCodeLength int    `json:"defaultCodeLength"`
}

type TOTPCode

type TOTPCode struct {
	Issuer      string `json:"issuer"`
	AccountName string `json:"accountName"`
	Digits      int    `json:"digits"`
	Secret      string `json:"secret"`
	Period      uint   `json:"period"`
}

Jump to

Keyboard shortcuts

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