{"modulePath":"github.com/eric-erki/https-hyperledger.org","version":"v1.4.4","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package testpb\n\n## Functions\n\n```go\nfunc RegisterEchoServiceServer(s *grpc.Server, srv EchoServiceServer)\n```\n\n## Types\n\n```go\ntype EchoServiceClient interface {\n\tEcho(ctx context.Context, in *Message, opts ...grpc.CallOption) (*Message, error)\n\tEchoStream(ctx context.Context, opts ...grpc.CallOption) (EchoService_EchoStreamClient, error)\n}\n```\nEchoServiceClient is the client API for EchoService service.\n\nFor semantics around ctx use and closing/ending streaming RPCs, please refer to [https://godoc.org/google.golang.org/grpc#ClientConn.NewStream](https://godoc.org/google.golang.org/grpc#ClientConn.NewStream).\n\n```go\nfunc NewEchoServiceClient(cc *grpc.ClientConn) EchoServiceClient\n```\n\n```go\ntype EchoServiceServer interface {\n\tEcho(context.Context, *Message) (*Message, error)\n\tEchoStream(EchoService_EchoStreamServer) error\n}\n```\nEchoServiceServer is the server API for EchoService service.\n\n```go\ntype EchoService_EchoStreamClient interface {\n\tSend(*Message) error\n\tRecv() (*Message, error)\n\tgrpc.ClientStream\n}\n```\n\n```go\ntype EchoService_EchoStreamServer interface {\n\tSend(*Message) error\n\tRecv() (*Message, error)\n\tgrpc.ServerStream\n}\n```\n\n```go\ntype Message struct {\n\tMessage              string   `protobuf:\"bytes,1,opt,name=message,proto3\" json:\"message,omitempty\"`\n\tSequence             int32    `protobuf:\"varint,2,opt,name=sequence,proto3\" json:\"sequence,omitempty\"`\n\tXXX_NoUnkeyedLiteral struct{} `json:\"-\"`\n\tXXX_unrecognized     []byte   `json:\"-\"`\n\tXXX_sizecache        int32    `json:\"-\"`\n}\n```\n\n```go\nfunc (*Message) Descriptor() ([]byte, []int)\n```\n\n```go\nfunc (m *Message) GetMessage() string\n```\n\n```go\nfunc (m *Message) GetSequence() int32\n```\n\n```go\nfunc (*Message) ProtoMessage()\n```\n\n```go\nfunc (m *Message) Reset()\n```\n\n```go\nfunc (m *Message) String() string\n```\n\n```go\nfunc (m *Message) XXX_DiscardUnknown()\n```\n\n```go\nfunc (m *Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)\n```\n\n```go\nfunc (dst *Message) XXX_Merge(src proto.Message)\n```\n\n```go\nfunc (m *Message) XXX_Size() int\n```\n\n```go\nfunc (m *Message) XXX_Unmarshal(b []byte) error\n```\n\n","path":"github.com/eric-erki/https-hyperledger.org/common/grpclogging/testpb","name":"testpb","synopsis":"","isRedistributable":true}
