Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CountNewMail ¶
func GetLoginURL ¶
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
func ApiContact ¶
func ApiContact() *API
type User ¶
type User struct { client.Error Alias string `json:"userid"` // main email Name string `json:"name"` Gender gender.Gender `json:"gender,omitempty"` Title string `json:"position,omitempty"` ExtId string `json:"extid,omitempty"` Tel string `json:"tel,omitempty"` Mobile string `json:"mobile,omitempty"` Slaves []string `json:"slaves"` // email aliases Enable uint8 `json:"enable,omitempty"` // contains filtered or unexported fields }
{ "errcode": 0, "errmsg": "ok", "userid": " zhangsan@gzdev.com ", "name": "李四", "department": [1, 2], "position": "后台工程师", "mobile": "15913215421", "gender": "1", "enable": "1", "slaves":[ zhangsan@gz.com, zhangsan@bjdev.com], "cpwd_login":0 }
Click to show internal directories.
Click to hide internal directories.