Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Log ¶
type Log struct { ID uint `gorm:"primary_key" json:"id"` TrustedIP string TrustedPort uint RemoteIP string RemotePort uint StartUp time.Time ShutDown *time.Time Received float64 Send float64 UpdatedAt time.Time CreatedAt time.Time User User UserID uint }
Log log
type Plugin ¶
type Plugin struct { I18n *web.I18n `inject:""` Cache *web.Cache `inject:""` Jwt *web.Jwt `inject:""` Router *gin.Engine `inject:""` DB *gorm.DB `inject:""` Render *render.Render `inject:""` }
Plugin plugin
type User ¶
type User struct { ID uint `gorm:"primary_key" json:"id"` FullName string Email string Details string Password string Online bool Enable bool StartUp time.Time ShutDown time.Time UpdatedAt time.Time CreatedAt time.Time }
User user
func (*User) ChkPassword ¶
ChkPassword check password
func (*User) SetPassword ¶
SetPassword set password (md5 with salt)
Click to show internal directories.
Click to hide internal directories.