Move darkstorm_backend to just backend

Added MongoDB instances of DB tables
Updated some DB interfaces
Added logging to count cleanup
This commit is contained in:
Caleb Gardner
2024-06-12 03:31:09 -05:00
parent e3af23873f
commit 28654e237e
15 changed files with 246 additions and 22 deletions
+12
View File
@@ -0,0 +1,12 @@
package backend
type ApiKey struct {
Perm map[string]bool
ID string
AppID string
Death int64
}
func (k ApiKey) GetID() string {
return k.ID
}