Documentation ¶
Overview ¶
Subpackage to provide interface for zboxapi SDK (dealing with apps backend) to be used to build the mobile SDK.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrZboxApiNotInitialized = errors.New("zboxapi: zboxapi client is not initialized") ErrZboxApiInvalidWallet = errors.New("zboxapi: invalid wallet") )
Functions ¶
func CreateJwtToken ¶
CreateJwtToken creates JWT token with the help of provided userID.
func Init ¶
func Init(baseUrl, appType string)
Init initialize the zbox api client for the mobile sdk
- baseUrl is the base url of the server
- appType is the type of the application
func RefreshJwtToken ¶
RefreshJwtToken refreshes JWT token
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.