mirror of
https://github.com/owncast/owncast.git
synced 2024-11-27 08:00:16 +03:00
19b9a8bdf6
* Add support for IP-based bans. Closes #1534 * Linter cleanup
10 lines
231 B
Go
10 lines
231 B
Go
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"`
|
|
}
|