gauth

package
v0.0.0-...-553e66b Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2021 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Google Authenticator 2FA Borrowed from https://github.com/tilaklodha/google-authenticator, as we can't import it as a library as it's in package main

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHOTPToken

func GetHOTPToken(secret string, interval int64) (string, error)

func GetTOTPToken

func GetTOTPToken(secret string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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