added test case
This commit is contained in:
@@ -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