Documentation
¶
Index ¶
- func LoadTimezones(file string)
- func Timezone(s string) (*time.Location, error)
- type EventsList
- type Group
- type Groups
- type IController
- type Interval
- type Permissions
- type RunMode
- type Status
- type Timestamp
- func (ts Timestamp) Add(dt time.Duration) Timestamp
- func (ts Timestamp) Before(t time.Time) bool
- func (ts Timestamp) Compare(u Timestamp) int
- func (ts Timestamp) IsZero() bool
- func (ts Timestamp) MarshalJSON() ([]byte, error)
- func (ts Timestamp) String() string
- func (ts Timestamp) UTC() Timestamp
- func (ts *Timestamp) UnmarshalJSON(bytes []byte) error
- type Uint8
- type Uint32
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadTimezones ¶
func LoadTimezones(file string)
Types ¶
type EventsList ¶
type IController ¶
type Permissions ¶
func (Permissions) String ¶
func (p Permissions) String() string
type Timestamp ¶
func TimestampNow ¶
func TimestampNow() Timestamp
func (Timestamp) Before ¶
Because time.Truncate does not in any way behave like your would expect it to :-(
func (Timestamp) MarshalJSON ¶
func (*Timestamp) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.