Implement ban guarding. Some ip fixes

This commit is contained in:
Dominic Ferrando
2025-04-24 01:14:33 -04:00
parent 73d66560b6
commit 99f8c7f97d
6 changed files with 97 additions and 26 deletions
+6
View File
@@ -34,3 +34,9 @@ type Admin struct {
Username string
Password string
}
type Ban struct {
IpHash string
Reason string
Expiration time.Time
}