kit: github.com/go-kit/kit/transport/grpc/_grpc_test Index | Files | Directories

package test

import "github.com/go-kit/kit/transport/grpc/_grpc_test"

Index

Package Files

client.go context_metadata.go request_response.go server.go service.go

func GetConsumedCorrelationID Uses

func GetConsumedCorrelationID(ctx context.Context) string

func NewBinding Uses

func NewBinding(svc Service) *serverBinding

func SetCorrelationID Uses

func SetCorrelationID(ctx context.Context, v string) context.Context

type Service Uses

type Service interface {
    Test(ctx context.Context, a string, b int64) (context.Context, string, error)
}

func NewClient Uses

func NewClient(cc *grpc.ClientConn) Service

func NewService Uses

func NewService() Service

type TestRequest Uses

type TestRequest struct {
    A   string
    B   int64
}

type TestResponse Uses

type TestResponse struct {
    Ctx context.Context
    V   string
}

Directories

PathSynopsis
pbPackage pb is a generated protocol buffer package.

Package test imports 8 packages (graph). Updated 2017-03-05. Refresh now. Tools for package owners.