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"

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)
}

TestClient is the client API for Test service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewTestClient Uses

func NewTestClient(cc *grpc.ClientConn) TestClient

type TestRequest Uses

type TestRequest struct {
    A                    string   `protobuf:"bytes,1,opt,name=a,proto3" json:"a,omitempty"`
    B                    int64    `protobuf:"varint,2,opt,name=b,proto3" json:"b,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

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

func (*TestRequest) XXX_DiscardUnknown Uses

func (m *TestRequest) XXX_DiscardUnknown()

func (*TestRequest) XXX_Marshal Uses

func (m *TestRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TestRequest) XXX_Merge Uses

func (m *TestRequest) XXX_Merge(src proto.Message)

func (*TestRequest) XXX_Size Uses

func (m *TestRequest) XXX_Size() int

func (*TestRequest) XXX_Unmarshal Uses

func (m *TestRequest) XXX_Unmarshal(b []byte) error

type TestResponse Uses

type TestResponse struct {
    V                    string   `protobuf:"bytes,1,opt,name=v,proto3" json:"v,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

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

func (*TestResponse) XXX_DiscardUnknown Uses

func (m *TestResponse) XXX_DiscardUnknown()

func (*TestResponse) XXX_Marshal Uses

func (m *TestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TestResponse) XXX_Merge Uses

func (m *TestResponse) XXX_Merge(src proto.Message)

func (*TestResponse) XXX_Size Uses

func (m *TestResponse) XXX_Size() int

func (*TestResponse) XXX_Unmarshal Uses

func (m *TestResponse) XXX_Unmarshal(b []byte) error

type TestServer Uses

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

TestServer is the server API for Test service.

Package pb imports 5 packages (graph) and is imported by 6 packages. Updated 2018-12-08. Refresh now. Tools for package owners.