Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IntegerIDHasher ¶
IntegerIDHasher encode/decode integer id for secure reason
type Signer ¶
type Signer interface { // Sign data and returns the signed data as a string Sign(claims SignClaims) (string, error) // Validate the sign data and decode data to out interface Validate(in string) (SignClaims, error) }
Signer sign data to make sure data is valid and not changed illegally
Click to show internal directories.
Click to hide internal directories.