Documentation
¶
Index ¶
- Variables
- type OperationOptions
- func (*OperationOptions) Descriptor() ([]byte, []int)deprecated
- func (x *OperationOptions) GetName() string
- func (x *OperationOptions) GetTags() []string
- func (*OperationOptions) ProtoMessage()
- func (x *OperationOptions) ProtoReflect() protoreflect.Message
- func (x *OperationOptions) Reset()
- func (x *OperationOptions) String() string
- type ServiceOptions
- func (*ServiceOptions) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceOptions) GetName() string
- func (x *ServiceOptions) GetTags() []string
- func (*ServiceOptions) ProtoMessage()
- func (x *ServiceOptions) ProtoReflect() protoreflect.Message
- func (x *ServiceOptions) Reset()
- func (x *ServiceOptions) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// optional nexusannotations.v1.OperationOptions operation = 8234;
E_Operation = &file_nexusannotations_v1_options_proto_extTypes[1]
)
Extension fields to descriptorpb.MethodOptions.
View Source
var (
// optional nexusannotations.v1.ServiceOptions service = 8233;
E_Service = &file_nexusannotations_v1_options_proto_extTypes[0]
)
Extension fields to descriptorpb.ServiceOptions.
View Source
var File_nexusannotations_v1_options_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type OperationOptions ¶
type OperationOptions struct {
// Nexus operation name (defaults to proto method name).
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Tags to attach to the operation. Used by code generators to include and exclude operations.
Tags []string `protobuf:"bytes,2,rep,name=tags,proto3" json:"tags,omitempty"`
// contains filtered or unexported fields
}
func (*OperationOptions) Descriptor
deprecated
func (*OperationOptions) Descriptor() ([]byte, []int)
Deprecated: Use OperationOptions.ProtoReflect.Descriptor instead.
func (*OperationOptions) GetName ¶
func (x *OperationOptions) GetName() string
func (*OperationOptions) GetTags ¶
func (x *OperationOptions) GetTags() []string
func (*OperationOptions) ProtoMessage ¶
func (*OperationOptions) ProtoMessage()
func (*OperationOptions) ProtoReflect ¶
func (x *OperationOptions) ProtoReflect() protoreflect.Message
func (*OperationOptions) Reset ¶
func (x *OperationOptions) Reset()
func (*OperationOptions) String ¶
func (x *OperationOptions) String() string
type ServiceOptions ¶
type ServiceOptions struct {
// Nexus service name (defaults to proto service full name).
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Tags to attach to the service. Used by code generators to include and exclude services.
Tags []string `protobuf:"bytes,2,rep,name=tags,proto3" json:"tags,omitempty"`
// contains filtered or unexported fields
}
func (*ServiceOptions) Descriptor
deprecated
func (*ServiceOptions) Descriptor() ([]byte, []int)
Deprecated: Use ServiceOptions.ProtoReflect.Descriptor instead.
func (*ServiceOptions) GetName ¶
func (x *ServiceOptions) GetName() string
func (*ServiceOptions) GetTags ¶
func (x *ServiceOptions) GetTags() []string
func (*ServiceOptions) ProtoMessage ¶
func (*ServiceOptions) ProtoMessage()
func (*ServiceOptions) ProtoReflect ¶
func (x *ServiceOptions) ProtoReflect() protoreflect.Message
func (*ServiceOptions) Reset ¶
func (x *ServiceOptions) Reset()
func (*ServiceOptions) String ¶
func (x *ServiceOptions) String() string
Click to show internal directories.
Click to hide internal directories.