doc/api: add User methods
This commit is contained in:
parent
db86f49de2
commit
b75f909362
11
doc/api.md
11
doc/api.md
|
@ -100,5 +100,16 @@ type User struct {
|
||||||
ID string `gorethink:"id,omitempty"`
|
ID string `gorethink:"id,omitempty"`
|
||||||
Email string `gorethink:"email"`
|
Email string `gorethink:"email"`
|
||||||
OauthMethod string `gorethink:"oauthMethod"`
|
OauthMethod string `gorethink:"oauthMethod"`
|
||||||
|
IsAdmin bool `gorethink:"isADmin"`
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Login
|
||||||
|
|
||||||
|
### Logout
|
||||||
|
|
||||||
|
### Promote
|
||||||
|
|
||||||
|
### Demote
|
||||||
|
|
||||||
|
### AddNewLoginMethod
|
||||||
|
|
Loading…
Reference in New Issue