Documentation ¶
Index ¶
- type Repository
- func (r *Repository) Add(_ context.Context, target probe.Probe) error
- func (r *Repository) AddBetween(_ context.Context, target probe.Probe, after time.Time, before time.Time) error
- func (r *Repository) Count(context.Context) (int, error)
- func (r *Repository) Pop(_ context.Context) (probe.Probe, error)
- func (r *Repository) PopAny(_ context.Context) (probe.Probe, error)
- func (r *Repository) PopMany(_ 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(c clock.Clock) *Repository
func (*Repository) AddBetween ¶
Click to show internal directories.
Click to hide internal directories.