Source File
qnt_retry.go
Belonging Package
github.com/tmc/go-iroh/internal/qng
package quicimportconst qntMaxRetryInterval = 2 * time.Secondfunc qntRetryDelay( uint8, time.Duration) time.Duration {:= / 10if <= 0 {return 0}if > 8 {= 8}:= <<if > 0 {-= << ( - 1)}if > qntMaxRetryInterval {return qntMaxRetryInterval}return}
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |