Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuditLog ¶
type AuditLog interface { Add(ctx context.Context, action string) error GetLogsOfUser(ctx context.Context, userID string) ([]*Log, error) GetLogsBetweenInterval(ctx context.Context, start time.Time, end time.Time, userID string) ([]*Log, error) }
AuditLog is the interface that stores Audit Logs of actions performed by an user
Click to show internal directories.
Click to hide internal directories.