Documentation ¶
Index ¶
- type Store
- func (s Store) DeleteDocumentChangeActivity(ctx domain.RequestContext, documentID string) (rows int64, err error)
- func (s Store) GetDocumentActivity(ctx domain.RequestContext, id string) (a []activity.DocumentActivity, err error)
- func (s Store) RecordUserActivity(ctx domain.RequestContext, activity activity.UserActivity) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct { store.Context store.ActivityStorer }
Store provides data access to user activity information.
func (Store) DeleteDocumentChangeActivity ¶
func (s Store) DeleteDocumentChangeActivity(ctx domain.RequestContext, documentID string) (rows int64, err error)
DeleteDocumentChangeActivity removes all entries for document changes (add, remove, update).
func (Store) GetDocumentActivity ¶
func (s Store) GetDocumentActivity(ctx domain.RequestContext, id string) (a []activity.DocumentActivity, err error)
GetDocumentActivity returns the metadata for a specified document.
func (Store) RecordUserActivity ¶
func (s Store) RecordUserActivity(ctx domain.RequestContext, activity activity.UserActivity) (err error)
RecordUserActivity logs user initiated data changes.
Click to show internal directories.
Click to hide internal directories.