Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileBasedMatchRepository ¶
type FileBasedMatchRepository struct {
// contains filtered or unexported fields
}
func NewFileBasedMatchRepository ¶
func NewFileBasedMatchRepository() *FileBasedMatchRepository
func (*FileBasedMatchRepository) Clear ¶
func (r *FileBasedMatchRepository) Clear() error
func (*FileBasedMatchRepository) NewIterator ¶
func (r *FileBasedMatchRepository) NewIterator() *MatchIterator
NewIterator creates a new MatchIterator for the repository
func (*FileBasedMatchRepository) Store ¶
func (r *FileBasedMatchRepository) Store(matches []processors.Match) error
type MatchIterator ¶
type MatchIterator struct {
// contains filtered or unexported fields
}
MatchIterator implements the Iterator pattern for Match instances
func (*MatchIterator) HasNext ¶
func (it *MatchIterator) HasNext() bool
HasNext checks if there are more Match instances to iterate over
func (*MatchIterator) Next ¶
func (it *MatchIterator) Next() (processors.Match, error)
Next retrieves the next Match instance
type MatchRepository ¶
type MatchRepository interface {
Store(matches []processors.Match) error
Clear() error
NewIterator() *MatchIterator
}
Click to show internal directories.
Click to hide internal directories.