Documentation
¶
Index ¶
- type Repository
- func (r *Repository) Add(ctx context.Context, prb probe.Probe) error
- func (r *Repository) AddBetween(ctx context.Context, prb probe.Probe, after time.Time, before time.Time) error
- func (r *Repository) Count(ctx context.Context) (int, error)
- func (r *Repository) Peek(ctx context.Context) (probe.Probe, error)
- func (r *Repository) Pop(ctx context.Context) (probe.Probe, error)
- func (r *Repository) PopMany(ctx context.Context, count int) ([]probe.Probe, int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository struct {
// contains filtered or unexported fields
}
func New ¶
func New(client *redis.Client, c clockwork.Clock) *Repository
func (*Repository) AddBetween ¶
Click to show internal directories.
Click to hide internal directories.