blob: 4e2921b52e20bfc6fea881b13405623efdad601a [file] [log] [blame]
package provider
import (
"context"
pb "code.hackerspace.pl/hscloud/bgpwtf/cccampix/proto"
)
// Provider is the interface exposed to the service by IRR proxies.
type Provider interface {
// Return a proto response for a given AS.
Query(ctx context.Context, as uint64) (*pb.IRRQueryResponse, error)
}