Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminUserView ¶
type AdminUserView struct { UserID string `gorm:";unique" form:"userID" json:"userID"` // 手机号码 Name string `gorm:"not null" form:"name" json:"name"` Email string `gorm:"not null" form:"email" json:"email"` }
AdminUserView AdminUserView
type DBConfig ¶
type DBConfig struct { Dialect string Database string User string Password string Host string Port int Charset string URL string MaxIdleConns int MaxOpenConns int }
DBConfig DBConfig Struct
type FormParams ¶
type FormParams struct { Params string `form:"params" json:"params"` // params ID string `form:"id" json:"id"` // id Name string `form:"name" json:"name"` // name Key string `form:"key" json:"key"` // key Value string `form:"value" json:"value"` // value }
FormParams FormParams
type ServerConfig ¶
type ServerConfig struct { Port []string Mode string GormLogMode string ViewLimit int Passphrase string Key string }
ServerConfig ServerConfig Struct
type User ¶
type User struct { UserID string `gorm:";unique" form:"userID" json:"userID"` // 手机号码 Name string `gorm:"not null" form:"name" json:"name"` Passwd string `gorm:"not null" form:"passwd" json:"passwd"` Email string `gorm:"not null" form:"email" json:"email"` }
User User
type UserParams ¶
type UserParams struct { UserID string `form:"userid" json:"userid"` // userid Name string `form:"name" json:"name"` // name Pwd string `form:"pwd" json:"pwd"` // parssword Email string `form:"email" json:"email"` // email OldPwd string `form:"oldpwd" json:"oldpwd"` // old parssword }
UserParams UserParams
Click to show internal directories.
Click to hide internal directories.