Documentation ¶
Index ¶
- Variables
- type Error
- func (*Error) Descriptor() ([]byte, []int)deprecated
- func (x *Error) GetDetails() []byte
- func (x *Error) GetHumanMessage() string
- func (x *Error) GetIdentifier() string
- func (m *Error) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Error) MarshalToVT(dAtA []byte) (int, error)
- func (m *Error) MarshalVT() (dAtA []byte, err error)
- func (*Error) ProtoMessage()
- func (x *Error) ProtoReflect() protoreflect.Message
- func (x *Error) Reset()
- func (m *Error) SizeVT() (n int)
- func (x *Error) String() string
- func (m *Error) UnmarshalVT(dAtA []byte) error
- type RetryInfo
- func (*RetryInfo) Descriptor() ([]byte, []int)deprecated
- func (x *RetryInfo) GetRetryAfter() uint32
- func (m *RetryInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *RetryInfo) MarshalToVT(dAtA []byte) (int, error)
- func (m *RetryInfo) MarshalVT() (dAtA []byte, err error)
- func (*RetryInfo) ProtoMessage()
- func (x *RetryInfo) ProtoReflect() protoreflect.Message
- func (x *RetryInfo) Reset()
- func (m *RetryInfo) SizeVT() (n int)
- func (x *RetryInfo) String() string
- func (m *RetryInfo) UnmarshalVT(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLength = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflow = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group") )
View Source
var File_protocol_hrpc_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error struct { // The identifier of this error, can be used as an i18n key. Identifier string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"` // A human readable message in English, explaining why the error occured. HumanMessage string `protobuf:"bytes,2,opt,name=human_message,json=humanMessage,proto3" json:"human_message,omitempty"` // Details about this message. This is dependent on the error identifier. Details []byte `protobuf:"bytes,3,opt,name=details,proto3" json:"details,omitempty"` // contains filtered or unexported fields }
Error type that will be returned by servers.
func (*Error) Descriptor
deprecated
func (*Error) GetDetails ¶
func (*Error) GetHumanMessage ¶
func (*Error) GetIdentifier ¶
func (*Error) MarshalToSizedBufferVT ¶
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
func (*Error) ProtoReflect ¶
func (x *Error) ProtoReflect() protoreflect.Message
func (*Error) UnmarshalVT ¶
type RetryInfo ¶
type RetryInfo struct { // How many seconds to wait before retrying the request. RetryAfter uint32 `protobuf:"varint,1,opt,name=retry_after,json=retryAfter,proto3" json:"retry_after,omitempty"` // contains filtered or unexported fields }
Information that can be used by clients for retrying requests.
func (*RetryInfo) Descriptor
deprecated
func (*RetryInfo) GetRetryAfter ¶
func (*RetryInfo) MarshalToSizedBufferVT ¶
func (*RetryInfo) ProtoMessage ¶
func (*RetryInfo) ProtoMessage()
func (*RetryInfo) ProtoReflect ¶
func (x *RetryInfo) ProtoReflect() protoreflect.Message
func (*RetryInfo) UnmarshalVT ¶
Click to show internal directories.
Click to hide internal directories.