Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NewTargetList (0.08 sec)

  1. internal/config/notify/parse.go

    }
    
    // FetchEnabledTargets - Returns a set of configured TargetList
    func FetchEnabledTargets(ctx context.Context, cfg config.Config, transport *http.Transport) (_ *event.TargetList, err error) {
    	targetList := event.NewTargetList(ctx)
    	for _, subSys := range config.NotifySubSystems.ToSlice() {
    		targets, err := fetchSubSysTargets(ctx, cfg, subSys, transport)
    		if err != nil {
    			return nil, err
    		}
    		for _, t := range targets {
    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