Documentation ¶
Index ¶
Constants ¶
View Source
const AUDITLOG_STATS_DIR = "stats"
View Source
const TIMESTAMP_FORMAT = "2006-01-02T15:04:05"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LogEntry ¶
type LogEntry struct { Timestamp LogTimestamp `json:"timestamp"` UserID string `json:"userID"` Action string `json:"action"` }
type LogTimestamp ¶
func (LogTimestamp) MarshalJSON ¶
func (t LogTimestamp) MarshalJSON() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.