Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCacheClient ¶
func NewCacheClient(cacheSetting *setting.CacheSettingS) (*redis.Client, error)
func NewDBEngine ¶
func NewDBEngine(databaseSetting *setting.DatabaseSettingS) (*gorm.DB, error)
Types ¶
type CommonModel ¶
type UserSessionTab ¶
type UserSessionTab struct { *CommonModel SessionID string `json:"session_id"` // 用户SessionID UserID uint32 `json:"user_id"` // 用户ID ExpireTime uint32 `json:"expire_time"` // 用户Session失效时间 }
func (UserSessionTab) TableName ¶
func (us UserSessionTab) TableName() string
Click to show internal directories.
Click to hide internal directories.