store

package
v1.0.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2020 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UsersDb

type UsersDb interface {
	Open() error
	Close() error
	Flush() error

	Find(login string) (*entitites.TOTPUserOptions, error)

	Update(login string, lockUntil time.Time, failCount int) error
}

func NewUsersDb

func NewUsersDb(dbtype string, connStr string, resolver shared.PathResolver) (UsersDb, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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