registry

package
v0.0.28 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// optional string ef1 = 1000;
	E_Ef1 = &file_regtest_regtest_proto_extTypes[0]
	// optional regtest.ExtensionMessage ef2 = 1001;
	E_ExtensionMessage_Ef2 = &file_regtest_regtest_proto_extTypes[2]
	// optional string ef3 = 1002;
	E_ExtensionMessage_NestedExtension_Ef3 = &file_regtest_regtest_proto_extTypes[3]
)

Extension fields to BaseMessage.

View Source
var Dummy_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "regtest.Dummy",
	HandlerType: (*DummyServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Dummy",
			Handler:    _Dummy_Dummy_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "regtest/regtest.proto",
}

Dummy_ServiceDesc is the grpc.ServiceDesc for Dummy service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var (
	// optional regtest.BaseMessage base = 56789;
	E_Base = &file_regtest_regtest_proto_extTypes[1]
)

Extension fields to descriptorpb.MethodOptions.

View Source
var File_regtest_regtest_proto protoreflect.FileDescriptor

Functions

func RegisterDummyServer

func RegisterDummyServer(s grpc.ServiceRegistrar, srv DummyServer)

Types

type BaseMessage

type BaseMessage struct {
	Bf1 *string `protobuf:"bytes,1,opt,name=bf1" json:"bf1,omitempty"`
	// contains filtered or unexported fields
}

A base message to be extended

func (*BaseMessage) Descriptor deprecated

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

Deprecated: Use BaseMessage.ProtoReflect.Descriptor instead.

func (*BaseMessage) GetBf1

func (x *BaseMessage) GetBf1() string

func (*BaseMessage) ProtoMessage

func (*BaseMessage) ProtoMessage()

func (*BaseMessage) ProtoReflect

func (x *BaseMessage) ProtoReflect() protoreflect.Message

func (*BaseMessage) Reset

func (x *BaseMessage) Reset()

func (*BaseMessage) String

func (x *BaseMessage) String() string

type DummyClient

type DummyClient interface {
	Dummy(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

DummyClient is the client API for Dummy service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewDummyClient

func NewDummyClient(cc grpc.ClientConnInterface) DummyClient

type DummyServer

type DummyServer interface {
	Dummy(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
	// contains filtered or unexported methods
}

DummyServer is the server API for Dummy service. All implementations must embed UnimplementedDummyServer for forward compatibility

type ExtensionMessage

type ExtensionMessage struct {
	Emf1 *string `protobuf:"bytes,1,opt,name=emf1" json:"emf1,omitempty"`
	// contains filtered or unexported fields
}

A message scope for more extensions

func (*ExtensionMessage) Descriptor deprecated

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

Deprecated: Use ExtensionMessage.ProtoReflect.Descriptor instead.

func (*ExtensionMessage) GetEmf1

func (x *ExtensionMessage) GetEmf1() string

func (*ExtensionMessage) ProtoMessage

func (*ExtensionMessage) ProtoMessage()

func (*ExtensionMessage) ProtoReflect

func (x *ExtensionMessage) ProtoReflect() protoreflect.Message

func (*ExtensionMessage) Reset

func (x *ExtensionMessage) Reset()

func (*ExtensionMessage) String

func (x *ExtensionMessage) String() string

type ExtensionMessage_NestedExtension

type ExtensionMessage_NestedExtension struct {
	Nef1 *string `protobuf:"bytes,1,opt,name=nef1" json:"nef1,omitempty"`
	// contains filtered or unexported fields
}

func (*ExtensionMessage_NestedExtension) Descriptor deprecated

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

Deprecated: Use ExtensionMessage_NestedExtension.ProtoReflect.Descriptor instead.

func (*ExtensionMessage_NestedExtension) GetNef1

func (*ExtensionMessage_NestedExtension) ProtoMessage

func (*ExtensionMessage_NestedExtension) ProtoMessage()

func (*ExtensionMessage_NestedExtension) ProtoReflect

func (*ExtensionMessage_NestedExtension) Reset

func (*ExtensionMessage_NestedExtension) String

type UnimplementedDummyServer

type UnimplementedDummyServer struct {
}

UnimplementedDummyServer must be embedded to have forward compatible implementations.

func (UnimplementedDummyServer) Dummy

type UnsafeDummyServer

type UnsafeDummyServer interface {
	// contains filtered or unexported methods
}

UnsafeDummyServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DummyServer will result in compilation errors.

Jump to

Keyboard shortcuts

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