Documentation ¶
Index ¶
- func GetConsumedCorrelationID(ctx context.Context) string
- func NewTestNilServiceBinding(svc Service) *testNilServerBinding
- func NewTestServiceBinding(svc Service) *testServerBinding
- func SetCorrelationID(ctx context.Context, v string) context.Context
- type Service
- type TestNilRequest
- type TestRequest
- type TestResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTestNilServiceBinding ¶
func NewTestNilServiceBinding(svc Service) *testNilServerBinding
func NewTestServiceBinding ¶
func NewTestServiceBinding(svc Service) *testServerBinding
Types ¶
type Service ¶
type Service interface { Test(ctx context.Context, a string, b int64) (context.Context, string, error) TestB(ctx context.Context, a string, b int64) (context.Context, string, error) TestNil(ctx context.Context, i []byte) (context.Context, string, error) }
func NewClient ¶
func NewClient[O interface{}](cc *grpc.ClientConn) Service
func NewService ¶
func NewService() Service
type TestNilRequest ¶
type TestNilRequest struct {
A []byte
}
type TestRequest ¶
type TestResponse ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.