1
0
mirror of https://github.com/go-micro/go-micro.git synced 2024-11-30 08:06:40 +02:00
go-micro/client/retry.go

9 lines
128 B
Go
Raw Normal View History

2016-11-07 10:40:11 +02:00
package client
type RetryFunc func(err error) bool
// always retry on error
func alwaysRetry(err error) bool {
return true
}