Documentation
¶
Overview ¶
Package urlsigner generates and verifies tamper-proof, timestamped signed URLs using a shared secret, and reports whether a signed token has expired.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Signer ¶
type Signer struct {
Secret []byte
}
func (*Signer) GenerateTokenFromString ¶
func (*Signer) VerifyToken ¶
Click to show internal directories.
Click to hide internal directories.