Package list golang-github-go-kit-kit / 9d157bd
Correct typ-o in addsvc for concatEndpoint hsinih 5 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
6666 ).Endpoint()
6767 concatEndpoint = opentracing.TraceClient(tracer, "Concat")(concatEndpoint)
6868 concatEndpoint = limiter(concatEndpoint)
69 sumEndpoint = circuitbreaker.Gobreaker(gobreaker.NewCircuitBreaker(gobreaker.Settings{
69 concatEndpoint = circuitbreaker.Gobreaker(gobreaker.NewCircuitBreaker(gobreaker.Settings{
7070 Name: "Concat",
7171 Timeout: 30 * time.Second,
72 }))(sumEndpoint)
72 }))(concatEndpoint)
7373 }
7474
7575 return addsvc.Endpoints{