Documentation ¶
Index ¶
- Variables
- func Delete(username string) error
- func Get(username string) (password string)
- func GetAdminPassword(uname string) (password string)
- func Initialize()
- func Set(username string, secret string) error
- func SetAdminPassword(password string)
- func SetOtpStorageType(database string) otpTable
- func SetWebAminStorageType(database string) webAdminTable
- func ShaGenerator(password string) string
- func Update(username string, secret string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Dsn string
)
Functions ¶
func GetAdminPassword ¶
func Initialize ¶
func Initialize()
func SetAdminPassword ¶
func SetAdminPassword(password string)
func SetOtpStorageType ¶
func SetOtpStorageType(database string) otpTable
func SetWebAminStorageType ¶
func SetWebAminStorageType(database string) webAdminTable
func ShaGenerator ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.