MCPcopy Create free account
hub / github.com/TruthHun/BookStack / APIUser

Struct APIUser

controllers/api/BaseController.go:34–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34type APIUser struct {
35 Uid int `json:"uid"`
36 Token string `json:"token,omitempty"`
37 Account string `json:"username,omitempty"` //对应 member.account
38 Nickname string `json:"nickname"`
39 Email string `json:"email,omitempty"`
40 Phone string `json:"phone,omitempty"`
41 Avatar string `json:"avatar"`
42 Description string `json:"intro,omitempty"`
43}
44
45type APIBook struct {
46 BookId int `json:"book_id"`

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected