MCPcopy
hub / github.com/redis/go-redis / NewProcessor

Function NewProcessor

push/processor.go:30–34  ·  view source on GitHub ↗

NewProcessor creates a new push notification processor

()

Source from the content-addressed store, hash-verified

28
29// NewProcessor creates a new push notification processor
30func NewProcessor() *Processor {
31 return &Processor{
32 registry: NewRegistry(),
33 }
34}
35
36// GetHandler returns the handler for a specific push notification name
37func (p *Processor) GetHandler(pushNotificationName string) NotificationHandler {

Calls 1

NewRegistryFunction · 0.85