Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for initAMQP (0.16 sec)

  1. internal/event/target/amqp.go

    	close(target.quitCh)
    	if target.conn != nil {
    		return target.conn.Close()
    	}
    	return nil
    }
    
    func (target *AMQPTarget) init() error {
    	return target.initOnce.Do(target.initAMQP)
    }
    
    func (target *AMQPTarget) initAMQP() error {
    	conn, err := amqp091.Dial(target.args.URL.String())
    	if err != nil {
    		if xnet.IsConnRefusedErr(err) || xnet.IsConnResetErr(err) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top