Add support for IP-based bans (#1703)
* Add support for IP-based bans. Closes #1534 * Linter cleanup
This commit is contained in:
10
models/ipAddress.go
Normal file
10
models/ipAddress.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package models
|
||||
|
||||
import "time"
|
||||
|
||||
// IPAddress is a simple representation of an IP address.
|
||||
type IPAddress struct {
|
||||
IPAddress string `json:"ipAddress"`
|
||||
Notes string `json:"notes"`
|
||||
CreatedAt time.Time `json:"createdAt"`
|
||||
}
|
||||
Reference in New Issue
Block a user