docs: update roadmap (#1178)

master
Kevin Wan 3 years ago committed by GitHub
parent d48bff8c8b
commit 27f553bf84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -10,13 +10,18 @@ We hope that the items listed below will inspire further engagement from the com
## 2021 Q3 ## 2021 Q3
- [x] Support `goctl model pg` to support PostgreSQL code generation - [x] Support `goctl model pg` to support PostgreSQL code generation
- [ ] Support `goctl mock` command to start a mocking server with given `.api` file - [x] Adapt builtin tracing mechanism to opentracing solutions
- [ ] Adapt builtin tracing mechanism to opentracing solutions
## 2021 Q4 ## 2021 Q4
- [x] Support `username/password` authentication in ETCD
- [x] Support `SSL/TLS` in `zRPC`
- [ ] Support `retry strategies` in `zRPC`
- [ ] Support `TLS` in redis connections
## 2022
- [ ] Support `goctl mock` command to start a mocking server with given `.api` file
- [ ] Add `httpx.Client` with governance, like circuit breaker etc. - [ ] Add `httpx.Client` with governance, like circuit breaker etc.
- [ ] Support `goctl doctor` command to report potential issues for given service - [ ] Support `goctl doctor` command to report potential issues for given service
- [ ] Support `context` in redis related methods for timeout and tracing - [ ] Support `context` in redis related methods for timeout and tracing
- [ ] Support `context` in sql related methods for timeout and tracing - [ ] Support `context` in sql related methods for timeout and tracing
- [ ] Support `context` in mongodb related methods for timeout and tracing - [ ] Support `context` in mongodb related methods for timeout and tracing
- [ ] Support TLS in redis connections

@ -24,6 +24,13 @@ func TestWithTimeout(t *testing.T) {
assert.Equal(t, time.Second, options.Timeout) 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) { func TestWithUnaryClientInterceptor(t *testing.T) {
var options ClientOptions var options ClientOptions
opt := WithUnaryClientInterceptor(func(ctx context.Context, method string, req, reply interface{}, opt := WithUnaryClientInterceptor(func(ctx context.Context, method string, req, reply interface{},

Loading…
Cancel
Save