mirror of
https://github.com/go-micro/go-micro.git
synced 2024-11-30 08:06:40 +02:00
9 lines
128 B
Go
9 lines
128 B
Go
|
package client
|
||
|
|
||
|
type RetryFunc func(err error) bool
|
||
|
|
||
|
// always retry on error
|
||
|
func alwaysRetry(err error) bool {
|
||
|
return true
|
||
|
}
|