Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var File_grpc_hex_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Hex ¶
type Hex struct { Q int64 `protobuf:"varint,1,opt,name=q,proto3" json:"q,omitempty"` R int64 `protobuf:"varint,2,opt,name=r,proto3" json:"r,omitempty"` // contains filtered or unexported fields }
func (*Hex) Descriptor
deprecated
func (*Hex) ProtoMessage ¶
func (*Hex) ProtoMessage()
func (*Hex) ProtoReflect ¶
func (x *Hex) ProtoReflect() protoreflect.Message
type HexValidationError ¶
type HexValidationError struct {
// contains filtered or unexported fields
}
HexValidationError is the validation error returned by Hex.Validate if the designated constraints aren't met.
func (HexValidationError) Cause ¶
func (e HexValidationError) Cause() error
Cause function returns cause value.
func (HexValidationError) Error ¶
func (e HexValidationError) Error() string
Error satisfies the builtin error interface
func (HexValidationError) ErrorName ¶
func (e HexValidationError) ErrorName() string
ErrorName returns error name.
func (HexValidationError) Field ¶
func (e HexValidationError) Field() string
Field function returns field value.
func (HexValidationError) Key ¶
func (e HexValidationError) Key() bool
Key function returns key value.
func (HexValidationError) Reason ¶
func (e HexValidationError) Reason() string
Reason function returns reason value.
Click to show internal directories.
Click to hide internal directories.