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

package pb

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

Package pb is a generated protocol buffer package.

It is generated from these files:

test.proto

It has these top-level messages:

TestRequest
TestResponse

Index

Package Files

generate.go test.pb.go

func RegisterTestServer Uses

func RegisterTestServer(s *grpc.Server, srv TestServer)

type TestClient Uses

type TestClient interface {
    Test(ctx context.Context, in *TestRequest, opts ...grpc.CallOption) (*TestResponse, error)
}

func NewTestClient Uses

func NewTestClient(cc *grpc.ClientConn) TestClient

type TestRequest Uses

type TestRequest struct {
    A   string `protobuf:"bytes,1,opt,name=a" json:"a,omitempty"`
    B   int64  `protobuf:"varint,2,opt,name=b" json:"b,omitempty"`
}

func (*TestRequest) Descriptor Uses

func (*TestRequest) Descriptor() ([]byte, []int)

func (*TestRequest) GetA Uses

func (m *TestRequest) GetA() string

func (*TestRequest) GetB Uses

func (m *TestRequest) GetB() int64

func (*TestRequest) ProtoMessage Uses

func (*TestRequest) ProtoMessage()

func (*TestRequest) Reset Uses

func (m *TestRequest) Reset()

func (*TestRequest) String Uses

func (m *TestRequest) String() string

type TestResponse Uses

type TestResponse struct {
    V string `protobuf:"bytes,1,opt,name=v" json:"v,omitempty"`
}

func (*TestResponse) Descriptor Uses

func (*TestResponse) Descriptor() ([]byte, []int)

func (*TestResponse) GetV Uses

func (m *TestResponse) GetV() string

func (*TestResponse) ProtoMessage Uses

func (*TestResponse) ProtoMessage()

func (*TestResponse) Reset Uses

func (m *TestResponse) Reset()

func (*TestResponse) String Uses

func (m *TestResponse) String() string

type TestServer Uses

type TestServer interface {
    Test(context.Context, *TestRequest) (*TestResponse, error)
}

Package pb imports 5 packages (graph) and is imported by 1 packages. Updated 2017-03-05. Refresh now. Tools for package owners.