model

package
v0.0.18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 5, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UID           = "uid"
	NAME          = "name"
	LINK          = "link"
	VENDOR        = "vendor"
	USER_UID      = "user_uid"
	PLACE_UID     = "place_uid"
	AUTH_UID      = "auth_uid"
	AUTH_STATUS   = "auth_status"
	CLIENT_ID     = "client_id"
	CLIENT_SECRET = "client_secret"
	USER_ID       = "user_id"
	ACCESS_TOKEN  = "access_token"
	REFRESH_TOKEN = "refresh_token"
	EXPIRED_TIME  = "expired_time"
	FOLDER_ID     = "folder_id"
	DOCUMENT_UID  = "document_uid"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Tencentdocument

type Tencentdocument struct {
	db.ModelWithUID
	AuthUID      string `gorm:"type:char(32);index"`
	UserUID      string `gorm:"type:char(32)"`
	UserID       string `gorm:"type:varchar(64)"`
	AccessToken  string `gorm:"type:varchar(512)"`
	RefreshToken string `gorm:"type:varchar(512)"`
	ExpiredTime  db.Time
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL