refactor: mp.auth

This commit is contained in:
lab
2021-11-10 01:44:51 +08:00
parent 408a941ccf
commit 155875d2ce
38 changed files with 7542 additions and 20 deletions

7
pkg/pubsub/publisher.go Normal file
View File

@@ -0,0 +1,7 @@
package pubsub
import "context"
type Publisher interface {
Publish(ctx context.Context, subject string, message interface{}) error
}