Documentation
¶
Index ¶
- type Repo
- func (r *Repo) CountByType(ctx context.Context, eventType string, since time.Time) (int, error)
- func (r *Repo) CountByTypeInWorkspace(ctx context.Context, workspaceID, eventType string, since time.Time) (int, error)
- func (r *Repo) Recent(ctx context.Context, since time.Time, limit int) ([]app.EventRow, error)
- func (r *Repo) RecentByType(ctx context.Context, eventType string, limit int) ([]app.EventRow, error)
- func (r *Repo) Track(ctx context.Context, e app.Event, now time.Time)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repo ¶
type Repo struct {
// contains filtered or unexported fields
}
func (*Repo) CountByType ¶
func (*Repo) CountByTypeInWorkspace ¶
func (*Repo) RecentByType ¶
Click to show internal directories.
Click to hide internal directories.