doc/api: add User methods

This commit is contained in:
Cadey Ratio 2017-01-26 09:42:26 -08:00
parent db86f49de2
commit b75f909362
1 changed files with 11 additions and 0 deletions

View File

@ -100,5 +100,16 @@ type User struct {
ID string `gorethink:"id,omitempty"`
Email string `gorethink:"email"`
OauthMethod string `gorethink:"oauthMethod"`
IsAdmin bool `gorethink:"isADmin"`
}
```
### Login
### Logout
### Promote
### Demote
### AddNewLoginMethod