Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithCodeRange ¶
func WithCodeRange(from, to int) func(*RecordFilter)
func WithMimeType ¶
func WithMimeType(mimeTypes []string) func(*RecordFilter)
func WithRecordIds ¶
func WithRecordIds(ids []string) func(*RecordFilter)
func WithRecordTypes ¶
func WithRecordTypes(recordTypes gowarc.RecordType) func(*RecordFilter)
Types ¶
type RecordFilter ¶
type RecordFilter struct { RecordTypes gowarc.RecordType // contains filtered or unexported fields }
func New ¶
func New(options ...func(*RecordFilter)) *RecordFilter
func (*RecordFilter) Accept ¶
func (f *RecordFilter) Accept(wr gowarc.WarcRecord) bool
Click to show internal directories.
Click to hide internal directories.