Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Id int64 `json:"id"` Name string `json:"name"` UUID string `json:"uuid" xorm:"'uuid' index"` SN string `json:"sn" xorm:"'sn' index"` CPU string `json:"cpu" xorm:"'cpu' index"` MAC string `json:"mac" xorm:"'mac' index"` Disabled bool `json:"disabled"` Updated time.Time `json:"updated" xorm:"updated"` Created time.Time `json:"created" xorm:"created"` }
type JsonTime ¶
func (JsonTime) MarshalJSON ¶
type User ¶
type User struct { Id int64 `json:"id"` Username string `json:"username" xorm:"unique"` Nickname string `json:"nickname,omitempty"` Email string `json:"email,omitempty"` Disabled bool `json:"disabled"` Updated time.Time `json:"updated" xorm:"updated"` Created time.Time `json:"created" xorm:"created"` }
User 用户
Click to show internal directories.
Click to hide internal directories.