ipfs-search/ipfs-search

View on GitHub
components/sniffer/providerfilters/interfaces.go

Summary

Maintainability
A
0 mins
Test Coverage
package providerfilters

import (
    t "github.com/ipfs-search/ipfs-search/types"
)

// Filter takes a Provider and returns true when it is to be included, false
// when not and an error when unexpected condition occur.
type Filter interface {
    Filter(t.Provider) (bool, error)
}