empact/db/token.go

22 lines
223 B
Go
Raw Normal View History

2015-03-05 03:14:14 +07:00
package db
import (
"time"
)
type (
Token struct {
ID int
Owner string
Token string
Limit int
Remaining int
ResetAt time.Time
CreatedAt time.Time
}
)
2015-03-05 19:57:36 +07:00
func UpdateToken(t *Token) {
}