Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGRPCClient ¶
func NewGRPCClient[T any](t *testing.T, ctx context.Context, in func(cc grpc.ClientConnInterface) T, addr string, opts ...grpc.DialOption) T
Types ¶
type ErrorStatusValidator ¶
type ErrorStatusValidator interface { Code(t *testing.T, code codes.Code) ErrorStatusValidator Errorf(t *testing.T, msg string, args ...interface{}) ErrorStatusValidator }
func AsGRPCError ¶
func AsGRPCError(t *testing.T, err error) ErrorStatusValidator
Click to show internal directories.
Click to hide internal directories.