fabric: github.com/hyperledger/fabric/core/comm/testpb Index | Files

package testpb

import "github.com/hyperledger/fabric/core/comm/testpb"

Index

Package Files

test.pb.go

func RegisterEchoServiceServer Uses

func RegisterEchoServiceServer(s *grpc.Server, srv EchoServiceServer)

func RegisterEmptyServiceServer Uses

func RegisterEmptyServiceServer(s *grpc.Server, srv EmptyServiceServer)

func RegisterTestServiceServer Uses

func RegisterTestServiceServer(s *grpc.Server, srv TestServiceServer)

type Echo Uses

type Echo struct {
    Payload              []byte   `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*Echo) Descriptor Uses

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

func (*Echo) GetPayload Uses

func (m *Echo) GetPayload() []byte

func (*Echo) ProtoMessage Uses

func (*Echo) ProtoMessage()

func (*Echo) Reset Uses

func (m *Echo) Reset()

func (*Echo) String Uses

func (m *Echo) String() string

func (*Echo) XXX_DiscardUnknown Uses

func (m *Echo) XXX_DiscardUnknown()

func (*Echo) XXX_Marshal Uses

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

func (*Echo) XXX_Merge Uses

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

func (*Echo) XXX_Size Uses

func (m *Echo) XXX_Size() int

func (*Echo) XXX_Unmarshal Uses

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

type EchoServiceClient Uses

type EchoServiceClient interface {
    EchoCall(ctx context.Context, in *Echo, opts ...grpc.CallOption) (*Echo, error)
}

EchoServiceClient is the client API for EchoService service.

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

func NewEchoServiceClient Uses

func NewEchoServiceClient(cc *grpc.ClientConn) EchoServiceClient

type EchoServiceServer Uses

type EchoServiceServer interface {
    EchoCall(context.Context, *Echo) (*Echo, error)
}

EchoServiceServer is the server API for EchoService service.

type Empty Uses

type Empty struct {
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*Empty) Descriptor Uses

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

func (*Empty) ProtoMessage Uses

func (*Empty) ProtoMessage()

func (*Empty) Reset Uses

func (m *Empty) Reset()

func (*Empty) String Uses

func (m *Empty) String() string

func (*Empty) XXX_DiscardUnknown Uses

func (m *Empty) XXX_DiscardUnknown()

func (*Empty) XXX_Marshal Uses

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

func (*Empty) XXX_Merge Uses

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

func (*Empty) XXX_Size Uses

func (m *Empty) XXX_Size() int

func (*Empty) XXX_Unmarshal Uses

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

type EmptyServiceClient Uses

type EmptyServiceClient interface {
    EmptyCall(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error)
    EmptyStream(ctx context.Context, opts ...grpc.CallOption) (EmptyService_EmptyStreamClient, error)
}

EmptyServiceClient is the client API for EmptyService service.

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

func NewEmptyServiceClient Uses

func NewEmptyServiceClient(cc *grpc.ClientConn) EmptyServiceClient

type EmptyServiceServer Uses

type EmptyServiceServer interface {
    EmptyCall(context.Context, *Empty) (*Empty, error)
    EmptyStream(EmptyService_EmptyStreamServer) error
}

EmptyServiceServer is the server API for EmptyService service.

type EmptyService_EmptyStreamClient Uses

type EmptyService_EmptyStreamClient interface {
    Send(*Empty) error
    Recv() (*Empty, error)
    grpc.ClientStream
}

type EmptyService_EmptyStreamServer Uses

type EmptyService_EmptyStreamServer interface {
    Send(*Empty) error
    Recv() (*Empty, error)
    grpc.ServerStream
}

type TestServiceClient Uses

type TestServiceClient interface {
    EmptyCall(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error)
}

TestServiceClient is the client API for TestService service.

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

func NewTestServiceClient Uses

func NewTestServiceClient(cc *grpc.ClientConn) TestServiceClient

type TestServiceServer Uses

type TestServiceServer interface {
    EmptyCall(context.Context, *Empty) (*Empty, error)
}

TestServiceServer is the server API for TestService service.

Package testpb imports 5 packages (graph). Updated 2019-11-15. Refresh now. Tools for package owners.