Documentation
¶
Index ¶
- type Entry
- type History
- func (h *History) Load(blob json.RawMessage) error
- func (h History) LookupCard(timestamp time.Time, card uint32) string
- func (h History) LookupController(timestamp time.Time, deviceID uint32) string
- func (h History) LookupDoor(timestamp time.Time, deviceID uint32, door uint8) string
- func (h History) Print()
- func (h *History) Received(records ...audit.AuditRecord)
- func (h History) Save() (json.RawMessage, error)
- func (h History) Validate() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type History ¶
type History struct {
// contains filtered or unexported fields
}
func NewHistory ¶
func (History) LookupController ¶
func (History) LookupDoor ¶
func (*History) Received ¶
func (h *History) Received(records ...audit.AuditRecord)
Click to show internal directories.
Click to hide internal directories.