Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for mysqlTargets (0.1 sec)

  1. internal/config/notify/parse.go

    			if err != nil {
    				return nil, err
    			}
    			targets = append(targets, t)
    		}
    	case config.NotifyMySQLSubSys:
    		mysqlTargets, err := GetNotifyMySQL(cfg[config.NotifyMySQLSubSys])
    		if err != nil {
    			return nil, err
    		}
    		for id, args := range mysqlTargets {
    			if !args.Enable {
    				continue
    			}
    			t, err := target.NewMySQLTarget(id, args, logOnceIf)
    			if err != nil {
    				return nil, err
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 47K bytes
    - Viewed (0)
  2. internal/event/target/mysql.go

    	quitCh chan struct{}
    }
    
    // ID - returns target ID.
    func (target *MySQLTarget) ID() event.TargetID {
    	return target.id
    }
    
    // Name - returns the Name of the target.
    func (target *MySQLTarget) Name() string {
    	return target.ID().String()
    }
    
    // Store returns any underlying store if set.
    func (target *MySQLTarget) Store() event.TargetStore {
    	return target.store
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 11.6K bytes
    - Viewed (0)
Back to top