Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidApiKey = errors.New("Invalid Api Key")
Functions ¶
func IsValid ¶
func IsValid(key *ApiKeyJson, hashedKey string) bool
Types ¶
type ApiKeyJson ¶
func Decode ¶
func Decode(keyString string) (*ApiKeyJson, error)
type KeyGenResult ¶
func New ¶
func New(orgId int64, name string) KeyGenResult
Click to show internal directories.
Click to hide internal directories.