Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RelTeamUser ¶
func (RelTeamUser) Me ¶
func (this RelTeamUser) Me()
func (RelTeamUser) TableName ¶
func (this RelTeamUser) TableName() string
type Session ¶
func (Session) DeleteSessionByUid ¶
func (Session) ExpiredUnixGen ¶
func (Session) FindVaildSession ¶
will find vaild session and delete other expired session
type Team ¶
type Team struct { ID int64 `json:"id,"` Name string `json:"name"` Resume string `json:"resume"` Creator int64 `json:"creator"` }
func (Team) GetCreatorName ¶
type User ¶
type User struct { ID int64 `json:"id" ` Name string `json:"name"` Cnname string `json:"cnname"` Passwd string `json:"-"` Email string `json:"email"` Phone string `json:"phone"` IM string `json:"im" gorm:"column:im"` QQ string `json:"qq" gorm:"column:qq"` Role int `json:"role"` Creator int `json:"creator"` }
func (User) IsSuperAdmin ¶
func (User) IsThirdPartyUser ¶
func (User) UserNameExist ¶
Click to show internal directories.
Click to hide internal directories.