github.com/go-redis/redis/v8.PubSub.patterns (field)
8 uses
github.com/go-redis/redis/v8 (current package)
pubsub.go#L38: patterns map[string]struct{}
pubsub.go#L53: channels = append(channels, mapKeys(c.patterns)...)
pubsub.go#L106: if len(c.patterns) > 0 {
pubsub.go#L107: err := c._subscribe(ctx, cn, "psubscribe", mapKeys(c.patterns))
pubsub.go#L211: if c.patterns == nil {
pubsub.go#L212: c.patterns = make(map[string]struct{})
pubsub.go#L215: c.patterns[s] = struct{}{}
pubsub.go#L240: delete(c.patterns, pattern)
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |