Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuditLogCmd ¶
AuditLogCmd handles audit logs.
Types ¶
type AuditLog ¶
type AuditLog struct {
ID string `header:"id" json:"id"`
Actor string `header:"actor" json:"actor"`
Action string `header:"action" json:"action"`
Event string `header:"event" json:"type"`
RemoteIP string `header:"remote_ip" json:"remote_ip"`
Location string `header:"location" json:"location"`
CreatedAt int64 `header:"created_at,timestamp(ms|utc|human)" json:"created_at"`
// contains filtered or unexported fields
}
func (*AuditLog) MarshalCSVValue ¶
func (a *AuditLog) MarshalCSVValue() interface{}
func (*AuditLog) MarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.