Documentation
¶
Index ¶
- Variables
- type CidrBlock
- type CompressionFormat
- type IpAddress
- type MailAddress
- type UnixTime
- func (vo UnixTime) Int64() int64
- func (vo UnixTime) IsBetween(startDate, endDate UnixTime) bool
- func (vo UnixTime) IsFuture() bool
- func (vo UnixTime) IsPast() bool
- func (vo UnixTime) ReadAsGoTime() time.Time
- func (vo UnixTime) ReadDateOnly() string
- func (ut UnixTime) ReadDateTime() string
- func (ut UnixTime) ReadEndOfDay() time.Time
- func (vo UnixTime) ReadRfcDate() string
- func (ut UnixTime) ReadStartOfDay() time.Time
- func (vo UnixTime) ReadTimeOnly() string
- func (vo UnixTime) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var IpAddressLocal = IpAddress("127.0.0.1")
View Source
var ValidCompressionFormats = []string{
"tar", "gzip", "zip", "xz", "br",
}
Functions ¶
This section is empty.
Types ¶
type CompressionFormat ¶ added in v0.0.7
type CompressionFormat string
const ( CompressionFormatTarball CompressionFormat = "tar" CompressionFormatGzip CompressionFormat = "gzip" CompressionFormatZip CompressionFormat = "zip" CompressionFormatXz CompressionFormat = "xz" CompressionFormatBrotli CompressionFormat = "br" )
func NewCompressionFormat ¶ added in v0.0.7
func NewCompressionFormat(value any) (CompressionFormat, error)
func (CompressionFormat) String ¶ added in v0.0.7
func (vo CompressionFormat) String() string
type MailAddress ¶
type MailAddress string
func NewMailAddress ¶
func NewMailAddress(value any) (mailAddress MailAddress, err error)
func (MailAddress) String ¶
func (vo MailAddress) String() string
type UnixTime ¶ added in v0.0.4
type UnixTime int64
func NewUnixTime ¶ added in v0.0.4
func NewUnixTimeAfterNow ¶ added in v0.0.4
func NewUnixTimeBeforeNow ¶ added in v0.0.4
func NewUnixTimeNow ¶ added in v0.0.4
func NewUnixTimeNow() UnixTime
func NewUnixTimeWithGoTime ¶ added in v0.0.4
func (UnixTime) ReadAsGoTime ¶ added in v0.0.4
func (UnixTime) ReadDateOnly ¶ added in v0.0.4
func (UnixTime) ReadDateTime ¶ added in v0.0.4
func (UnixTime) ReadEndOfDay ¶ added in v0.0.4
func (UnixTime) ReadRfcDate ¶ added in v0.0.4
func (UnixTime) ReadStartOfDay ¶ added in v0.0.4
func (UnixTime) ReadTimeOnly ¶ added in v0.0.4
Source Files
¶
Click to show internal directories.
Click to hide internal directories.