Issue 511 - Initial commit part 2
This commit is contained in:
@@ -8,4 +8,10 @@ import (
|
||||
|
||||
type RegistryLookup interface {
|
||||
Lookup(ctx context.Context, req *model.Subscription) ([]model.Subscription, error)
|
||||
Subscribe(ctx context.Context, subscription *model.Subscription) error
|
||||
}
|
||||
|
||||
// RegistryLookupProvider initializes a new registry lookup instance.
|
||||
type RegistryLookupProvider interface {
|
||||
New(context.Context, map[string]string) (RegistryLookup, func() error, error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user