-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add interceptors package with useful typed Goa interceptor functions (#…
…520) * Add interceptors package with useful typed Goa interceptor functions - Add Trace Stream family of interceptor functions which allow for tracing of individual messages sent on bidirectional, client to server, and server to client streams. - Fix typos in several READMEs. [ ] Add tests for the interceptor functions. * Retrieve receive context via context rendezvous since we decided against changing the Goa interceptor interface to return a context * Add embeddable structs for interceptors as more terse option (only somewhat since Go needs more explicit type parameters than it should) * Add tests for the Trace Stream interceptors and wrappers * Improve naming with input from @xeger * Point to Goa with interceptor fixes from goadesign/goa#3655
- Loading branch information
1 parent
89b415a
commit 1f4a29e
Showing
17 changed files
with
2,495 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,59 @@ | ||
module goa.design/clue/example/weather | ||
|
||
go 1.22.0 | ||
go 1.23.0 | ||
|
||
toolchain go1.24.0 | ||
|
||
require ( | ||
github.com/stretchr/testify v1.9.0 | ||
github.com/stretchr/testify v1.10.0 | ||
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.56.0 | ||
go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace v0.56.0 | ||
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.56.0 | ||
go.opentelemetry.io/otel v1.31.0 | ||
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.31.0 | ||
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.31.0 | ||
go.opentelemetry.io/otel/trace v1.31.0 | ||
go.opentelemetry.io/otel v1.34.0 | ||
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.34.0 | ||
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.34.0 | ||
go.opentelemetry.io/otel/trace v1.34.0 | ||
goa.design/clue v1.0.6 | ||
goa.design/goa/v3 v3.19.1 | ||
goa.design/goa/v3 v3.20.0 | ||
goa.design/model v1.9.8 | ||
goa.design/plugins/v3 v3.19.1 | ||
google.golang.org/grpc v1.67.1 | ||
google.golang.org/protobuf v1.35.1 | ||
google.golang.org/grpc v1.70.0 | ||
google.golang.org/protobuf v1.36.5 | ||
) | ||
|
||
require ( | ||
github.com/aws/smithy-go v1.22.0 // indirect | ||
github.com/aws/smithy-go v1.22.2 // indirect | ||
github.com/cenkalti/backoff/v4 v4.3.0 // indirect | ||
github.com/davecgh/go-spew v1.1.1 // indirect | ||
github.com/dimfeld/httppath v0.0.0-20170720192232-ee938bf73598 // indirect | ||
github.com/felixge/httpsnoop v1.0.4 // indirect | ||
github.com/go-chi/chi/v5 v5.1.0 // indirect | ||
github.com/go-chi/chi/v5 v5.2.1 // indirect | ||
github.com/go-logfmt/logfmt v0.6.0 // indirect | ||
github.com/go-logr/logr v1.4.2 // indirect | ||
github.com/go-logr/stdr v1.2.2 // indirect | ||
github.com/google/uuid v1.6.0 // indirect | ||
github.com/gorilla/websocket v1.5.3 // indirect | ||
github.com/grpc-ecosystem/grpc-gateway/v2 v2.22.0 // indirect | ||
github.com/grpc-ecosystem/grpc-gateway/v2 v2.25.1 // indirect | ||
github.com/manveru/faker v0.0.0-20171103152722-9fbc68a78c4d // indirect | ||
github.com/pmezard/go-difflib v1.0.0 // indirect | ||
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.31.0 // indirect | ||
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.31.0 // indirect | ||
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.31.0 // indirect | ||
go.opentelemetry.io/otel/metric v1.31.0 // indirect | ||
go.opentelemetry.io/otel/sdk v1.31.0 // indirect | ||
go.opentelemetry.io/otel/sdk/metric v1.31.0 // indirect | ||
go.opentelemetry.io/proto/otlp v1.3.1 // indirect | ||
golang.org/x/mod v0.21.0 // indirect | ||
golang.org/x/net v0.33.0 // indirect | ||
golang.org/x/sync v0.10.0 // indirect | ||
golang.org/x/sys v0.28.0 // indirect | ||
golang.org/x/term v0.27.0 // indirect | ||
golang.org/x/text v0.21.0 // indirect | ||
golang.org/x/tools v0.26.0 // indirect | ||
google.golang.org/genproto/googleapis/api v0.0.0-20241007155032-5fefd90f89a9 // indirect | ||
google.golang.org/genproto/googleapis/rpc v0.0.0-20241007155032-5fefd90f89a9 // indirect | ||
go.opentelemetry.io/auto/sdk v1.1.0 // indirect | ||
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.34.0 // indirect | ||
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.34.0 // indirect | ||
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.34.0 // indirect | ||
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.32.0 // indirect | ||
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.34.0 // indirect | ||
go.opentelemetry.io/otel/metric v1.34.0 // indirect | ||
go.opentelemetry.io/otel/sdk v1.34.0 // indirect | ||
go.opentelemetry.io/otel/sdk/metric v1.34.0 // indirect | ||
go.opentelemetry.io/proto/otlp v1.5.0 // indirect | ||
golang.org/x/mod v0.23.0 // indirect | ||
golang.org/x/net v0.35.0 // indirect | ||
golang.org/x/sync v0.11.0 // indirect | ||
golang.org/x/sys v0.30.0 // indirect | ||
golang.org/x/term v0.29.0 // indirect | ||
golang.org/x/text v0.22.0 // indirect | ||
golang.org/x/tools v0.30.0 // indirect | ||
google.golang.org/genproto/googleapis/api v0.0.0-20250115164207-1a7da9e5054f // indirect | ||
google.golang.org/genproto/googleapis/rpc v0.0.0-20250219182151-9fdb1cabc7b2 // indirect | ||
gopkg.in/yaml.v3 v3.0.1 // indirect | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.