test

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 8, 2017 License: MIT Imports: 8 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConsumedCorrelationID

func GetConsumedCorrelationID(ctx context.Context) string

func NewBinding

func NewBinding(svc Service) *serverBinding

func SetCorrelationID

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

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 TestRequest struct {
	A string
	B int64
}

type TestResponse

type TestResponse struct {
	Ctx context.Context
	V   string
}

Directories

Path Synopsis
Package pb is a generated protocol buffer package.
Package pb is a generated protocol buffer package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL