blob: 4e2921b52e20bfc6fea881b13405623efdad601a [file] [log] [blame]
Sergiusz Bazanski6eaaaf92019-08-02 01:25:31 +02001package provider
2
3import (
4 "context"
5
6 pb "code.hackerspace.pl/hscloud/bgpwtf/cccampix/proto"
7)
8
9// Provider is the interface exposed to the service by IRR proxies.
10type Provider interface {
11 // Return a proto response for a given AS.
12 Query(ctx context.Context, as uint64) (*pb.IRRQueryResponse, error)
13}