extapigrpcadapter

package
v1.5.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 22, 2026 License: MIT Imports: 9 Imported by: 0

README

Adapter-style external gRPC call example

This example shows when to use itestkit/grpc/bufconn.NewServer instead of NewClient.

Use this pattern when your service dependencies are constructed in adapter style:

  • constructor input is target + []grpc.DialOption
  • the adapter itself manages grpc.NewClient(...)

The harness starts an in-memory external gRPC server via NewServer, then creates an adapter from Target() and DialOptions().

This mirrors integration setups like gateway-style services where adapters own transport clients.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL