Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewHTTPTransport (0.11 sec)

  1. cmd/config-current.go

    		}
    	}
    
    	if config.NotifySubSystems.Contains(subSys) {
    		if err := notify.TestSubSysNotificationTargets(ctx, s, subSys, NewHTTPTransport()); err != nil {
    			return err
    		}
    	}
    
    	if config.LambdaSubSystems.Contains(subSys) {
    		if err := lambda.TestSubSysLambdaTargets(GlobalContext, s, subSys, NewHTTPTransport()); err != nil {
    			return err
    		}
    	}
    
    	return nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  2. cmd/utils.go

    			return s.NewHTTPTransportWithTimeout(1 * time.Minute)
    		}
    		return transport
    	}
    
    	return globalRemoteTargetTransport
    }
    
    // NewHTTPTransport returns a new http configuration
    // used while communicating with the cloud backends.
    func NewHTTPTransport() *http.Transport {
    	return NewHTTPTransportWithTimeout(1 * time.Minute)
    }
    
    // Default values for dial timeout
    const defaultDialTimeout = 5 * time.Second
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 31.9K bytes
    - Viewed (0)
Back to top