Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewAMQPTarget (0.09 sec)

  1. internal/event/target/amqp.go

    			target.loggerOnce(context.Background(), err, target.ID().String())
    		}
    		return err
    	}
    	target.conn = conn
    
    	return nil
    }
    
    // NewAMQPTarget - creates new AMQP target.
    func NewAMQPTarget(id string, args AMQPArgs, loggerOnce logger.LogOnce) (*AMQPTarget, 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
    - 10K bytes
    - Viewed (0)
  2. internal/config/notify/parse.go

    		if err != nil {
    			return nil, err
    		}
    		for id, args := range amqpTargets {
    			if !args.Enable {
    				continue
    			}
    			t, err := target.NewAMQPTarget(id, args, logOnceIf)
    			if err != nil {
    				return nil, err
    			}
    			targets = append(targets, t)
    		}
    	case config.NotifyESSubSys:
    		esTargets, err := GetNotifyES(cfg[config.NotifyESSubSys], transport)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 47K bytes
    - Viewed (0)
Back to top