Issue 511 - Initial commit part 2

This commit is contained in:
Mayuresh Nirhali
2025-09-17 00:09:12 +05:30
parent 54ae426807
commit cc552e865e
5 changed files with 45 additions and 10 deletions

View File

@@ -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)
}