Documentation
¶
Overview ¶
Package grpc provides utilities to test the gRPC server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeRequest ¶
MakeRequest makes a test request to the Echo endpoint.
func NewStreamMiddleware ¶
func NewStreamMiddleware(i *atomic.Int64) grpc.StreamServerInterceptor
NewStreamMiddleware creates a new stream test middleware.
func NewUnaryMiddlware ¶
func NewUnaryMiddlware(i *atomic.Int64) grpc.UnaryServerInterceptor
NewUnaryMiddlware creates a new unary test middleware.
func SetupServer ¶
SetupServer will create a gRPC test server.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.