Documentation ¶
Index ¶
Constants ¶
View Source
const (
ISODate = "2006-01-02T15:04:05"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ban ¶
type Ban struct { IP net.IP Mask int Username string CertHash string Reason string Start int64 Duration uint32 }
func (Ban) ISOStartDate ¶
ISOStartDate returns the currently set start date as an ISO 8601-formatted date (in UTC).
func (*Ban) SetISOStartDate ¶
Set Start date from an ISO 8601 date (in UTC)
Click to show internal directories.
Click to hide internal directories.