docs: update roadmap (#1178)

This commit is contained in:
Kevin Wan
2021-10-31 11:13:45 +08:00
committed by GitHub
parent d48bff8c8b
commit 27f553bf84
2 changed files with 15 additions and 3 deletions

View File

@@ -24,6 +24,13 @@ func TestWithTimeout(t *testing.T) {
assert.Equal(t, time.Second, options.Timeout)
}
func TestWithRetry(t *testing.T) {
var options ClientOptions
opt := WithRetry()
opt(&options)
assert.True(t, options.Retry)
}
func TestWithUnaryClientInterceptor(t *testing.T) {
var options ClientOptions
opt := WithUnaryClientInterceptor(func(ctx context.Context, method string, req, reply interface{},