diff --git a/doc/api.md b/doc/api.md index cab90ba..e3d4a6b 100644 --- a/doc/api.md +++ b/doc/api.md @@ -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