Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine struct { Db *gorm.DB `inject:""` I18n *web.I18n `inject:""` Jwt *auth.Jwt `inject:""` Key []byte `inject:"jwt.key"` Method crypto.SigningMethod `inject:"jwt.method"` }
Engine engine
func (*Engine) RegisterWorker ¶ added in v0.3.0
func (p *Engine) RegisterWorker()
RegisterWorker register worker
type Log ¶ added in v0.4.1
type Log struct { ID uint TrustedIP string TrustedPort uint RemoteIP string RemotePort uint StartUp time.Time ShutDown *time.Time Received float64 Send float64 UserID uint User User }
Log log
type User ¶ added in v0.4.1
type User struct { web.Model FullName string Email string Details string Password string Online bool Enable bool StartUp time.Time ShutDown time.Time }
User user
func (*User) ChkPassword ¶ added in v0.4.1
ChkPassword check password
func (*User) SetPassword ¶ added in v0.4.1
SetPassword set password (md5 with salt)
Click to show internal directories.
Click to hide internal directories.