Documentation ¶
Index ¶
Constants ¶
View Source
const ( UID = "uid" NAME = "name" INFO = "info" VENDOR = "vendor" USER_UID = "user_uid" PLACE_UID = "place_uid" AUTH_UID = "auth_uid" AUTH_STATUS = "auth_status" PHOTO_UID = "photo_uid" LIBRARY_ID = "library_id" LIBRARY_SECRET = "library_secret" ACCESS_TOKEN = "access_token" EXPIRE_TIME = "expire_time" SPACE_ID = "space_id" USER_ID = "user_id" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Smh ¶
type Smh struct { db.ModelWithUID AuthUID string `gorm:"type:char(32);index"` UserUID string `gorm:"type:char(32)"` Name string `gorm:"type:varchar(32)"` Info string `gorm:"type:varchar(64)"` LibraryID string `gorm:"type:varchar(32)"` LibrarySecret string `gorm:"type:varchar(64)"` AccessToken string `gorm:"type:varchar(512)"` ExpireTime db.Time }
Click to show internal directories.
Click to hide internal directories.