- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for NewNSQTarget (0.06 sec)
-
internal/event/target/nsq.go
return err } yes, err := target.isActive() if err != nil { return err } if !yes { return store.ErrNotConnected } return nil } // NewNSQTarget - creates new NSQ target. func NewNSQTarget(id string, args NSQArgs, loggerOnce logger.LogOnce) (*NSQTarget, error) { var queueStore store.Store[event.Event] if args.QueueDir != "" {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 7.1K bytes - Viewed (0) -
internal/config/notify/parse.go
nsqTargets, err := GetNotifyNSQ(cfg[config.NotifyNSQSubSys]) if err != nil { return nil, err } for id, args := range nsqTargets { if !args.Enable { continue } t, err := target.NewNSQTarget(id, args, logOnceIf) if err != nil { return nil, err } targets = append(targets, t) } case config.NotifyPostgresSubSys:
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 47K bytes - Viewed (0)