Add token.go

This commit is contained in:
Jan Bader 2016-12-19 22:48:36 +01:00
parent 1592e4e8cf
commit 02d6f3bd79

7
token.go Normal file
View File

@ -0,0 +1,7 @@
package budgeteer
// Token contains data that authenticates a user
type Token interface {
GetUsername() string
GetExpiry() int
}