Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrRecordNotFound = errors.New("record not found")
)
errors
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store interface { CreateAuditLog(entry *types.AuditLog) (id string, err error) GetAuditLogs(query *types.AuditLogQuery) (logs []*types.AuditLog, err error) AuditLogsCount(query *types.AuditLogQuery) (int, error) AuditStatistics(query *types.AuditLogStatsQuery) ([]types.AuditLogStats, error) CreateApproval(approval *types.Approval) (*types.Approval, error) UpdateApproval(approval *types.Approval) error GetApproval(q *types.GetApprovalQuery) (*types.Approval, error) ListApprovals(q *types.GetApprovalQuery) ([]*types.Approval, error) DeleteApproval(approval *types.Approval) error OK() bool Close() error }
Click to show internal directories.
Click to hide internal directories.