package test
import "github.com/go-kit/kit/transport/grpc/_grpc_test"
Index ¶
- func GetConsumedCorrelationID(ctx context.Context) string
- func NewBinding(svc Service) *serverBinding
- func SetCorrelationID(ctx context.Context, v string) context.Context
- type Service
- type TestRequest
- type TestResponse
Functions ¶
func GetConsumedCorrelationID ¶
func NewBinding ¶
func NewBinding(svc Service) *serverBinding
func SetCorrelationID ¶
Types ¶
type Service ¶
type Service interface { Test(ctx context.Context, a string, b int64) (context.Context, string, error) }
func NewClient ¶
func NewClient(cc *grpc.ClientConn) Service
func NewService ¶
func NewService() Service
type TestRequest ¶
type TestResponse ¶
Source Files ¶
client.go context_metadata.go request_response.go server.go service.go
Directories ¶
Path | Synopsis |
---|---|
transport/grpc/_grpc_test/pb |
- Version
- v0.13.0 (latest)
- Published
- May 29, 2023
- Platform
- linux/amd64
- Imports
- 7 packages
- Last checked
- 3 days ago –
Tools for package owners.