community: Index | Files

package activity

import ""


Package Files


type Store Uses

type Store struct {

Store provides data access to user activity information.

func (Store) DeleteDocumentChangeActivity Uses

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 Uses

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 Uses

func (s Store) RecordUserActivity(ctx domain.RequestContext, activity activity.UserActivity)

RecordUserActivity logs user initiated data changes.

Package activity imports 7 packages (graph) and is imported by 1 packages. Updated 2020-03-20. Refresh now. Tools for package owners.