refactor: mp.auth
This commit is contained in:
7
pkg/pubsub/publisher.go
Normal file
7
pkg/pubsub/publisher.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package pubsub
|
||||
|
||||
import "context"
|
||||
|
||||
type Publisher interface {
|
||||
Publish(ctx context.Context, subject string, message interface{}) error
|
||||
}
|
Reference in New Issue
Block a user