Documentation ¶
Index ¶
- func CreateToken(root, value string) bool
- func DeleteToken(root, value string) bool
- func HydrateToken(root string, entity *model.Token) *model.Token
- func LoadTokens(root string) ([]model.Token, error)
- func PersistToken(root string, entity *model.Token) *model.Token
- func UpdateToken(root string, entity *model.Token) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateToken ¶
CreateToken creates and persist new token entity
func DeleteToken ¶
DeleteToken deletes existing token entity
func HydrateToken ¶
HydrateToken hydrate existing token from storage
func LoadTokens ¶
LoadTokens rehydrates token entity state from storage
func PersistToken ¶
PersistToken persist new token entity to storage
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.