Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAccount ¶ added in v0.5.0
CreateAccount associates an account name with a user ID and returns a message string
func GetAccount ¶ added in v0.5.0
func GetAccount() string
GetAccount retrieves the user account name
func GetProfile ¶ added in v0.5.0
func GetProfile() map[string]interface{}
GetProfile retrieves the user profile
func Post ¶
Post calls the API at the relative path with the payload, and returns the data retrieved or an error
func StoreProfile ¶ added in v0.5.0
StoreProfile stores the user's profile and returns a message string
func ValidateAccount ¶ added in v0.5.0
ValidateAccount validates an account name and returns whether it is valid or not
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.