Resolved PR review comments
Resolved merge conflict with the develop branch
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user