Documentation ¶
Index ¶
Constants ¶
View Source
const ( SIXTOKENFOUR = 1 FOURTOKENFOUR = 2 TOKENFOUR = 3 GUID = 4 SSN = 5 NGUID = 6 NTOKENFOUR = 7 NTOKEN = 8 SIXANTOKENFOUR = 9 FOURANTOKENFOUR = 10 ANTOKENFOUR = 11 ANTOKEN = 12 ANTOKENAUTO = 13 ASCIITOKENFOUR = 14 ASCIITOKEN = 15 SIXASCIITOKENFOUR = 16 FOURASCIITOKENFOUR = 17 ASCIITOKENAUTO = 18 )
Variables ¶
This section is empty.
Functions ¶
func Initialize ¶
Types ¶
type BaseResponse ¶
type DeleteResponse ¶
type DeleteResponse struct {
BaseResponse
}
func Delete ¶
func Delete(token string) (DeleteResponse, error)
type TokenResponse ¶
type TokenResponse struct { BaseResponse Token string }
func TokenizeFromEncryptedValue ¶
func TokenizeFromEncryptedValue(data string, tokenScheme int) (TokenResponse, error)
type ValidateResponse ¶
type ValidateResponse struct { BaseResponse Valid bool }
func Validate ¶
func Validate(token string) (ValidateResponse, error)
type ValueResponse ¶
type ValueResponse struct { BaseResponse Value string }
func Detokenize ¶
func Detokenize(token string) (ValueResponse, error)
Click to show internal directories.
Click to hide internal directories.