Documentation ¶ Index ¶ func GenerateChallenge(hmacSecret string, maxNumber int64, algorithm string, expireSeconds int) (lib.Challenge, error) func VerifyPayload(hmacSecret string, payload string) (bool, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func GenerateChallenge ¶ func GenerateChallenge(hmacSecret string, maxNumber int64, algorithm string, expireSeconds int) (lib.Challenge, error) func VerifyPayload ¶ func VerifyPayload(hmacSecret string, payload string) (bool, error) Types ¶ This section is empty. Source Files ¶ View all Source files altcha.go Click to show internal directories. Click to hide internal directories.