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