1 package pubsub 2 3 import ( 4 "context" 5 ) 6 7 type Publisher interface { 8 Send(ctx context.Context, topicID string, message []byte, attributes map[string]string) error 9 } 10
View as plain text