internal

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var B32NoPadding = base32.StdEncoding.WithPadding(base32.NoPadding)

B32NoPadding is a base32 encoder without padding, shared by hotp and totp.

Functions

func EncodeQuery

func EncodeQuery(v url.Values) string

EncodeQuery encodes url.Values into a query string, using %20 instead of + to encode spaces. This is necessary to correctly render spaces in some authenticator apps, like Google Authenticator.

Types

This section is empty.

Jump to

Keyboard shortcuts

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