Documentation ¶
Index ¶
- Variables
- type GeneratorOptions
- func (*GeneratorOptions) Descriptor() ([]byte, []int)deprecated
- func (x *GeneratorOptions) GetRequireUnimplemented() bool
- func (x *GeneratorOptions) GetUseGenericStreams() bool
- func (*GeneratorOptions) ProtoMessage()
- func (x *GeneratorOptions) ProtoReflect() protoreflect.Message
- func (x *GeneratorOptions) Reset()
- func (x *GeneratorOptions) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// optional grpc.GeneratorOptions generator = 25400;
E_Generator = &file_github_com_kralicky_protols_sdk_codegen_generators_golang_grpc_grpc_proto_extTypes[0]
)
Extension fields to descriptorpb.FileOptions.
View Source
var File_github_com_kralicky_protols_sdk_codegen_generators_golang_grpc_grpc_proto protoreflect.FileDescriptor
View Source
var Generator = grpcGenerator{}
Functions ¶
This section is empty.
Types ¶
type GeneratorOptions ¶ added in v0.6.0
type GeneratorOptions struct { // Equivalent to the 'require_unimplemented_servers' flag. Defaults to false. RequireUnimplemented *bool `` /* 128-byte string literal not displayed */ // Equivalent to the 'use_generic_streams_experimental' flag. Defaults to true. UseGenericStreams *bool `protobuf:"varint,2,opt,name=use_generic_streams,json=useGenericStreams,proto3,oneof" json:"use_generic_streams,omitempty"` // contains filtered or unexported fields }
func (*GeneratorOptions) Descriptor
deprecated
added in
v0.6.0
func (*GeneratorOptions) Descriptor() ([]byte, []int)
Deprecated: Use GeneratorOptions.ProtoReflect.Descriptor instead.
func (*GeneratorOptions) GetRequireUnimplemented ¶ added in v0.6.0
func (x *GeneratorOptions) GetRequireUnimplemented() bool
func (*GeneratorOptions) GetUseGenericStreams ¶ added in v0.6.0
func (x *GeneratorOptions) GetUseGenericStreams() bool
func (*GeneratorOptions) ProtoMessage ¶ added in v0.6.0
func (*GeneratorOptions) ProtoMessage()
func (*GeneratorOptions) ProtoReflect ¶ added in v0.6.0
func (x *GeneratorOptions) ProtoReflect() protoreflect.Message
func (*GeneratorOptions) Reset ¶ added in v0.6.0
func (x *GeneratorOptions) Reset()
func (*GeneratorOptions) String ¶ added in v0.6.0
func (x *GeneratorOptions) String() string
Click to show internal directories.
Click to hide internal directories.