View definition

const OptionReconnectTime

Defined in


OptionReconnectTime is the initial interval used for connection attempts. If a connection attempt does not succeed, then ths socket will wait this long before trying again. An optional exponential backoff may cause this value to grow. See OptionMaxReconnectTime for more details. This is a time.Duration whose default value is 100msec. This option must be set before starting any dialers.