28654e237e
Added MongoDB instances of DB tables Updated some DB interfaces Added logging to count cleanup
13 lines
153 B
Go
13 lines
153 B
Go
package backend
|
|
|
|
type ApiKey struct {
|
|
Perm map[string]bool
|
|
ID string
|
|
AppID string
|
|
Death int64
|
|
}
|
|
|
|
func (k ApiKey) GetID() string {
|
|
return k.ID
|
|
}
|