added flag to indicate account is currently syncing

This commit is contained in:
Brad Rydzewski
2014-07-11 13:45:32 -07:00
parent 3a6ce5b5e1
commit b9b79b7994
4 changed files with 24 additions and 16 deletions

View File

@@ -16,6 +16,7 @@ type User struct {
Token string `meddler:"user_token" json:"-"`
Admin bool `meddler:"user_admin" json:"admin"`
Active bool `meddler:"user_active" json:"active"`
Syncing bool `meddler:"user_syncing" json:"syncing"`
Created int64 `meddler:"user_created" json:"created_at"`
Updated int64 `meddler:"user_updated" json:"updated_at"`
Synced int64 `meddler:"user_synced" json:"synced_at"`