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