fix repocard issues (#20)

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2020-08-25 14:33:36 +03:00
committed by GitHub
parent dd78ae8658
commit 8076e410a9
18 changed files with 72 additions and 51 deletions

View File

@@ -6,7 +6,7 @@ import (
"github.com/unistack-org/micro/v3/errors"
)
// note that returning either false or a non-nil error will result in the call not being retried
// RetryFunc that returning either false or a non-nil error will result in the call not being retried
type RetryFunc func(ctx context.Context, req Request, retryCount int, err error) (bool, error)
// RetryAlways always retry on error