frostfs-node/pkg/services/object/search/query/query.go

12 lines
232 B
Go
Raw Normal View History

package query
import (
objectSDK "github.com/nspcc-dev/neofs-api-go/pkg/object"
"github.com/nspcc-dev/neofs-node/pkg/core/object"
)
type Query interface {
ToSearchFilters() objectSDK.SearchFilters
Match(*object.Object) bool
}