Resolved PR review comments

Resolved merge conflict with the develop branch
This commit is contained in:
MohitKatare-protean
2025-06-05 14:55:11 +05:30
14 changed files with 1044 additions and 1 deletions

View File

@@ -11,7 +11,7 @@ type KeyManager interface {
GenerateKeyset() (*model.Keyset, error)
InsertKeyset(ctx context.Context, keyID string, keyset *model.Keyset) error
Keyset(ctx context.Context, keyID string) (*model.Keyset, error)
LookupNPKeys(ctx context.Context, subscriberID, uniqueKeyID string) (string, string, error)
LookupNPKeys(ctx context.Context, subscriberID, uniqueKeyID string) (signingPublicKey string, encrPublicKey string, err error)
DeleteKeyset(ctx context.Context, keyID string) error
}

View File

@@ -8,6 +8,7 @@ type Publisher interface {
Publish(context.Context, string, []byte) error
}
// PublisherProvider is the interface for creating new Publisher instances.
type PublisherProvider interface {
// New initializes a new publisher instance with the given configuration.
New(ctx context.Context, config map[string]string) (Publisher, func() error, error)