modulepackage
0.0.0-20181108101245-aa52af0e75ab
Repository: https://github.com/gramework/common.git
Documentation: pkg.go.dev
# README
The Common package
This package provides common web-related shortcuts, solutions and algorithms.
Useful links
Name | Link/Badge |
---|---|
Docs | GoDoc |
Our Jira | Jira |
We have #gramework channel in the Gophers Slack | https://gophers.slack.com |
Our Telegram chat | @gramework |
Our Discord Server | https://discord.gg/HkW8DsD |
# Functions
CalcMTA calculates Moving Time Average
samplesCount should not count the nextSample.
GenerateKey generates a private key using random source rand.
NewTOTP initializes TOTPState for a user.
# Constants
TOTPLengthLong is the strongest length, but it will *NOT* work with Google Authenticator.
TOTPLengthShort is the default TOTP password length.
# Variables
No description provided by the author