add GET /tokens/self

This commit is contained in:
Howl
2016-06-14 12:01:30 +02:00
parent 4d9ec829a8
commit fc38503bdd
4 changed files with 32 additions and 8 deletions

View File

@@ -2,6 +2,7 @@ package common
// Token Is an API token.
type Token struct {
ID int
Value string
UserID int
Privileges Privileges