Feat: add storage block(first methods to db, migrations, models) add nginx parser with regular expression, add to deps sqlite driver
All checks were successful
CI.yml / build (push) Successful in 1m51s
All checks were successful
CI.yml / build (push) Successful in 1m51s
This commit is contained in:
15
internal/storage/models.go
Normal file
15
internal/storage/models.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package storage
|
||||
|
||||
type LogEntry struct {
|
||||
Service string
|
||||
IP string
|
||||
Path *string
|
||||
Status *string
|
||||
Method *string
|
||||
Reason *string
|
||||
}
|
||||
|
||||
type Ban struct {
|
||||
IP string
|
||||
Reason *string
|
||||
}
|
||||
Reference in New Issue
Block a user