Versions in this module Expand all Collapse all v1 v1.0.0 Aug 15, 2021 Changes in this version + const RFC3339nocolon + var DefaultDisabledEvents = DisabledEvents + type DisabledEvents []EventType + func EnvDisabledEvents() DisabledEvents + func ParseDisabledEvents(s string) (DisabledEvents, error) + type Event struct + Data interface{} + Timestamp time.Time + type EventType struct + Event string + System string + func (et EventType) Enabled() bool + func (et EventType) String() string + type EventTypeRegistry interface + RegisterEventType func(system, event string) EventType + func NewEventTypeRegistry(disabled DisabledEvents) EventTypeRegistry + type Journal interface + Close func() error + RecordEvent func(evtType EventType, supplier func() interface{}) + func NilJournal() Journal + func OpenFSJournal(lr repo.LockedRepo, disabled DisabledEvents) (Journal, error)