Inspector support Go context

This commit is contained in:
youngxu
2022-06-21 14:10:31 +08:00
parent 7d783d6ae9
commit 7922c858f7
6 changed files with 9 additions and 14 deletions

View File

@@ -749,7 +749,7 @@ type Broker interface {
// Cancelation related methods
CancelationPubSub() (*redis.PubSub, error) // TODO: Need to decouple from redis to support other brokers
PublishCancelation(id string) error
PublishCancelation(ctx context.Context, id string) error
WriteResult(qname, id string, data []byte) (n int, err error)
}