Documentation ¶
Index ¶
- Variables
- type HTTP
- type Service
- func (*Service) Descriptor() ([]byte, []int)deprecated
- func (x *Service) GetCodec() string
- func (x *Service) GetHost() string
- func (x *Service) GetName() string
- func (x *Service) GetPackage() string
- func (x *Service) GetRequestCodec() string
- func (x *Service) GetResponseCodec() string
- func (x *Service) GetTransport() string
- func (*Service) ProtoMessage()
- func (x *Service) ProtoReflect() protoreflect.Message
- func (x *Service) Reset()
- func (x *Service) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// optional semaphore.api.HTTP http = 50011;
E_Http = &file_api_annotations_proto_extTypes[1]
)
Extension fields to descriptor.MethodOptions.
View Source
var (
// optional semaphore.api.Service service = 50012;
E_Service = &file_api_annotations_proto_extTypes[0]
)
Extension fields to descriptor.ServiceOptions.
View Source
var File_api_annotations_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type HTTP ¶
type HTTP struct { Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` Method string `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"` // contains filtered or unexported fields }
func (*HTTP) Descriptor
deprecated
func (*HTTP) GetEndpoint ¶
func (*HTTP) ProtoMessage ¶
func (*HTTP) ProtoMessage()
func (*HTTP) ProtoReflect ¶
func (x *HTTP) ProtoReflect() protoreflect.Message
type Service ¶
type Service struct { Package string `protobuf:"bytes,1,opt,name=package,proto3" json:"package,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Host string `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"` Transport string `protobuf:"bytes,4,opt,name=transport,proto3" json:"transport,omitempty"` Codec string `protobuf:"bytes,5,opt,name=codec,proto3" json:"codec,omitempty"` RequestCodec string `protobuf:"bytes,6,opt,name=request_codec,json=requestCodec,proto3" json:"request_codec,omitempty"` ResponseCodec string `protobuf:"bytes,7,opt,name=response_codec,json=responseCodec,proto3" json:"response_codec,omitempty"` // contains filtered or unexported fields }
func (*Service) Descriptor
deprecated
func (*Service) GetPackage ¶
func (*Service) GetRequestCodec ¶
func (*Service) GetResponseCodec ¶
func (*Service) GetTransport ¶
func (*Service) ProtoMessage ¶
func (*Service) ProtoMessage()
func (*Service) ProtoReflect ¶
func (x *Service) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.