Files
darkstorm-server/internal/backend/key.go
T
Caleb Gardner 28654e237e Move darkstorm_backend to just backend
Added MongoDB instances of DB tables
Updated some DB interfaces
Added logging to count cleanup
2024-06-12 03:31:09 -05:00

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
}