package
Version:
v0.0.0-...-79ce300
Opens a new window with list of versions in this module.
Published: Apr 3, 2022
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Session struct {
Token string `json:"session_token"`
UserData *UserData `json:"user_data"`
}
type User struct {
ID string `json:"id"`
Name string `json:"name"`
State string `json:"state"`
UserToken UserToken `json:"user_token"`
}
type UserData struct {
Id string `json:"id"`
Status string `json:"status"`
Type string `json:"type"`
SignUp bool `json:"sign_up"`
Username string `json:"username"`
Profile string `json:"profile"`
DeviceId string `json:"user_device_id"`
DeviceType string `json:"device_type"`
DeviceBrowser string `json:"device_os"`
DevicePlatform string `json:"device_platform"`
}
type UserToken struct {
AccessToken string `json:"access_token"`
RefreshToken string `json:"refresh_token"`
TokenType string `json:"token_type"`
Expiry time.Time `json:"expiry"`
Email string `json:"email"`
Picture string `json:"picture"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.