Discover Packages
github.com/apm-ai/DataV
backend
internal
session
package
Version:
v0.0.0-...-df226ee
Opens a new window with list of versions in this module.
Published: Jun 24, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type LoginModel struct {
UserID string `json:"userid"`
Password string `json:"password"`
}
type Session struct {
Token string `json:"token"`
User *User `json:"user"`
CreateTime time .Time
}
type User struct {
ID string `json:"id"`
Name string `json:"name"`
AvatarURL string `json:"avatarUrl"`
Email string `json:"email"`
Mobile string `json:"mobile"`
Priv string `json:"priv"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.