Documentation ¶
Index ¶
- Variables
- type JoinRequest
- func (*JoinRequest) Descriptor() ([]byte, []int)deprecated
- func (x *JoinRequest) GetNodeId() string
- func (x *JoinRequest) GetRaftAddress() string
- func (*JoinRequest) ProtoMessage()
- func (x *JoinRequest) ProtoReflect() protoreflect.Message
- func (x *JoinRequest) Reset()
- func (x *JoinRequest) String() string
- func (m *JoinRequest) Validate() error
- func (m *JoinRequest) ValidateAll() error
- type JoinRequestMultiError
- type JoinRequestValidationError
- func (e JoinRequestValidationError) Cause() error
- func (e JoinRequestValidationError) Error() string
- func (e JoinRequestValidationError) ErrorName() string
- func (e JoinRequestValidationError) Field() string
- func (e JoinRequestValidationError) Key() bool
- func (e JoinRequestValidationError) Reason() string
- type JoinResponse
- func (*JoinResponse) Descriptor() ([]byte, []int)deprecated
- func (x *JoinResponse) GetNodeId() string
- func (x *JoinResponse) GetRaftAddress() string
- func (*JoinResponse) ProtoMessage()
- func (x *JoinResponse) ProtoReflect() protoreflect.Message
- func (x *JoinResponse) Reset()
- func (x *JoinResponse) String() string
- func (m *JoinResponse) Validate() error
- func (m *JoinResponse) ValidateAll() error
- type JoinResponseMultiError
- type JoinResponseValidationError
- func (e JoinResponseValidationError) Cause() error
- func (e JoinResponseValidationError) Error() string
- func (e JoinResponseValidationError) ErrorName() string
- func (e JoinResponseValidationError) Field() string
- func (e JoinResponseValidationError) Key() bool
- func (e JoinResponseValidationError) Reason() string
- type RemoveRequest
- func (*RemoveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveRequest) GetNodeId() string
- func (*RemoveRequest) ProtoMessage()
- func (x *RemoveRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveRequest) Reset()
- func (x *RemoveRequest) String() string
- func (m *RemoveRequest) Validate() error
- func (m *RemoveRequest) ValidateAll() error
- type RemoveRequestMultiError
- type RemoveRequestValidationError
- func (e RemoveRequestValidationError) Cause() error
- func (e RemoveRequestValidationError) Error() string
- func (e RemoveRequestValidationError) ErrorName() string
- func (e RemoveRequestValidationError) Field() string
- func (e RemoveRequestValidationError) Key() bool
- func (e RemoveRequestValidationError) Reason() string
- type RemoveResponse
- func (*RemoveResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveResponse) GetNodeId() string
- func (*RemoveResponse) ProtoMessage()
- func (x *RemoveResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveResponse) Reset()
- func (x *RemoveResponse) String() string
- func (m *RemoveResponse) Validate() error
- func (m *RemoveResponse) ValidateAll() error
- type RemoveResponseMultiError
- type RemoveResponseValidationError
- func (e RemoveResponseValidationError) Cause() error
- func (e RemoveResponseValidationError) Error() string
- func (e RemoveResponseValidationError) ErrorName() string
- func (e RemoveResponseValidationError) Field() string
- func (e RemoveResponseValidationError) Key() bool
- func (e RemoveResponseValidationError) Reason() string
- type Stats
- func (*Stats) Descriptor() ([]byte, []int)deprecated
- func (x *Stats) GetStats() map[string]string
- func (*Stats) ProtoMessage()
- func (x *Stats) ProtoReflect() protoreflect.Message
- func (x *Stats) Reset()
- func (x *Stats) String() string
- func (m *Stats) Validate() error
- func (m *Stats) ValidateAll() error
- type StatsMultiError
- type StatsRequest
- func (*StatsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StatsRequest) GetNodeId() string
- func (*StatsRequest) ProtoMessage()
- func (x *StatsRequest) ProtoReflect() protoreflect.Message
- func (x *StatsRequest) Reset()
- func (x *StatsRequest) String() string
- func (m *StatsRequest) Validate() error
- func (m *StatsRequest) ValidateAll() error
- type StatsRequestMultiError
- type StatsRequestValidationError
- func (e StatsRequestValidationError) Cause() error
- func (e StatsRequestValidationError) Error() string
- func (e StatsRequestValidationError) ErrorName() string
- func (e StatsRequestValidationError) Field() string
- func (e StatsRequestValidationError) Key() bool
- func (e StatsRequestValidationError) Reason() string
- type StatsResponse
- func (*StatsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StatsResponse) GetNodeId() string
- func (x *StatsResponse) GetStats() *Stats
- func (*StatsResponse) ProtoMessage()
- func (x *StatsResponse) ProtoReflect() protoreflect.Message
- func (x *StatsResponse) Reset()
- func (x *StatsResponse) String() string
- func (m *StatsResponse) Validate() error
- func (m *StatsResponse) ValidateAll() error
- type StatsResponseMultiError
- type StatsResponseValidationError
- func (e StatsResponseValidationError) Cause() error
- func (e StatsResponseValidationError) Error() string
- func (e StatsResponseValidationError) ErrorName() string
- func (e StatsResponseValidationError) Field() string
- func (e StatsResponseValidationError) Key() bool
- func (e StatsResponseValidationError) Reason() string
- type StatsValidationError
Constants ¶
This section is empty.
Variables ¶
var File_core_consensus_raft_v1_service_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type JoinRequest ¶
type JoinRequest struct { NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id" bun:"node_id" yaml:"node_id" csv:"node_id" pg:"node_id"` RaftAddress string `` /* 160-byte string literal not displayed */ // contains filtered or unexported fields }
func (*JoinRequest) Descriptor
deprecated
func (*JoinRequest) Descriptor() ([]byte, []int)
Deprecated: Use JoinRequest.ProtoReflect.Descriptor instead.
func (*JoinRequest) GetNodeId ¶
func (x *JoinRequest) GetNodeId() string
func (*JoinRequest) GetRaftAddress ¶
func (x *JoinRequest) GetRaftAddress() string
func (*JoinRequest) ProtoMessage ¶
func (*JoinRequest) ProtoMessage()
func (*JoinRequest) ProtoReflect ¶
func (x *JoinRequest) ProtoReflect() protoreflect.Message
func (*JoinRequest) Reset ¶
func (x *JoinRequest) Reset()
func (*JoinRequest) String ¶
func (x *JoinRequest) String() string
func (*JoinRequest) Validate ¶
func (m *JoinRequest) Validate() error
Validate checks the field values on JoinRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*JoinRequest) ValidateAll ¶
func (m *JoinRequest) ValidateAll() error
ValidateAll checks the field values on JoinRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in JoinRequestMultiError, or nil if none found.
type JoinRequestMultiError ¶
type JoinRequestMultiError []error
JoinRequestMultiError is an error wrapping multiple validation errors returned by JoinRequest.ValidateAll() if the designated constraints aren't met.
func (JoinRequestMultiError) AllErrors ¶
func (m JoinRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (JoinRequestMultiError) Error ¶
func (m JoinRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type JoinRequestValidationError ¶
type JoinRequestValidationError struct {
// contains filtered or unexported fields
}
JoinRequestValidationError is the validation error returned by JoinRequest.Validate if the designated constraints aren't met.
func (JoinRequestValidationError) Cause ¶
func (e JoinRequestValidationError) Cause() error
Cause function returns cause value.
func (JoinRequestValidationError) Error ¶
func (e JoinRequestValidationError) Error() string
Error satisfies the builtin error interface
func (JoinRequestValidationError) ErrorName ¶
func (e JoinRequestValidationError) ErrorName() string
ErrorName returns error name.
func (JoinRequestValidationError) Field ¶
func (e JoinRequestValidationError) Field() string
Field function returns field value.
func (JoinRequestValidationError) Key ¶
func (e JoinRequestValidationError) Key() bool
Key function returns key value.
func (JoinRequestValidationError) Reason ¶
func (e JoinRequestValidationError) Reason() string
Reason function returns reason value.
type JoinResponse ¶
type JoinResponse struct { NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id" pg:"node_id" bun:"node_id" yaml:"node_id" csv:"node_id"` RaftAddress string `` /* 160-byte string literal not displayed */ // contains filtered or unexported fields }
func (*JoinResponse) Descriptor
deprecated
func (*JoinResponse) Descriptor() ([]byte, []int)
Deprecated: Use JoinResponse.ProtoReflect.Descriptor instead.
func (*JoinResponse) GetNodeId ¶
func (x *JoinResponse) GetNodeId() string
func (*JoinResponse) GetRaftAddress ¶
func (x *JoinResponse) GetRaftAddress() string
func (*JoinResponse) ProtoMessage ¶
func (*JoinResponse) ProtoMessage()
func (*JoinResponse) ProtoReflect ¶
func (x *JoinResponse) ProtoReflect() protoreflect.Message
func (*JoinResponse) Reset ¶
func (x *JoinResponse) Reset()
func (*JoinResponse) String ¶
func (x *JoinResponse) String() string
func (*JoinResponse) Validate ¶
func (m *JoinResponse) Validate() error
Validate checks the field values on JoinResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*JoinResponse) ValidateAll ¶
func (m *JoinResponse) ValidateAll() error
ValidateAll checks the field values on JoinResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in JoinResponseMultiError, or nil if none found.
type JoinResponseMultiError ¶
type JoinResponseMultiError []error
JoinResponseMultiError is an error wrapping multiple validation errors returned by JoinResponse.ValidateAll() if the designated constraints aren't met.
func (JoinResponseMultiError) AllErrors ¶
func (m JoinResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (JoinResponseMultiError) Error ¶
func (m JoinResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type JoinResponseValidationError ¶
type JoinResponseValidationError struct {
// contains filtered or unexported fields
}
JoinResponseValidationError is the validation error returned by JoinResponse.Validate if the designated constraints aren't met.
func (JoinResponseValidationError) Cause ¶
func (e JoinResponseValidationError) Cause() error
Cause function returns cause value.
func (JoinResponseValidationError) Error ¶
func (e JoinResponseValidationError) Error() string
Error satisfies the builtin error interface
func (JoinResponseValidationError) ErrorName ¶
func (e JoinResponseValidationError) ErrorName() string
ErrorName returns error name.
func (JoinResponseValidationError) Field ¶
func (e JoinResponseValidationError) Field() string
Field function returns field value.
func (JoinResponseValidationError) Key ¶
func (e JoinResponseValidationError) Key() bool
Key function returns key value.
func (JoinResponseValidationError) Reason ¶
func (e JoinResponseValidationError) Reason() string
Reason function returns reason value.
type RemoveRequest ¶
type RemoveRequest struct { NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id" pg:"node_id" bun:"node_id" yaml:"node_id" csv:"node_id"` // contains filtered or unexported fields }
func (*RemoveRequest) Descriptor
deprecated
func (*RemoveRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveRequest.ProtoReflect.Descriptor instead.
func (*RemoveRequest) GetNodeId ¶
func (x *RemoveRequest) GetNodeId() string
func (*RemoveRequest) ProtoMessage ¶
func (*RemoveRequest) ProtoMessage()
func (*RemoveRequest) ProtoReflect ¶
func (x *RemoveRequest) ProtoReflect() protoreflect.Message
func (*RemoveRequest) Reset ¶
func (x *RemoveRequest) Reset()
func (*RemoveRequest) String ¶
func (x *RemoveRequest) String() string
func (*RemoveRequest) Validate ¶
func (m *RemoveRequest) Validate() error
Validate checks the field values on RemoveRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RemoveRequest) ValidateAll ¶
func (m *RemoveRequest) ValidateAll() error
ValidateAll checks the field values on RemoveRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RemoveRequestMultiError, or nil if none found.
type RemoveRequestMultiError ¶
type RemoveRequestMultiError []error
RemoveRequestMultiError is an error wrapping multiple validation errors returned by RemoveRequest.ValidateAll() if the designated constraints aren't met.
func (RemoveRequestMultiError) AllErrors ¶
func (m RemoveRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RemoveRequestMultiError) Error ¶
func (m RemoveRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RemoveRequestValidationError ¶
type RemoveRequestValidationError struct {
// contains filtered or unexported fields
}
RemoveRequestValidationError is the validation error returned by RemoveRequest.Validate if the designated constraints aren't met.
func (RemoveRequestValidationError) Cause ¶
func (e RemoveRequestValidationError) Cause() error
Cause function returns cause value.
func (RemoveRequestValidationError) Error ¶
func (e RemoveRequestValidationError) Error() string
Error satisfies the builtin error interface
func (RemoveRequestValidationError) ErrorName ¶
func (e RemoveRequestValidationError) ErrorName() string
ErrorName returns error name.
func (RemoveRequestValidationError) Field ¶
func (e RemoveRequestValidationError) Field() string
Field function returns field value.
func (RemoveRequestValidationError) Key ¶
func (e RemoveRequestValidationError) Key() bool
Key function returns key value.
func (RemoveRequestValidationError) Reason ¶
func (e RemoveRequestValidationError) Reason() string
Reason function returns reason value.
type RemoveResponse ¶
type RemoveResponse struct { NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id" pg:"node_id" bun:"node_id" yaml:"node_id" csv:"node_id"` // contains filtered or unexported fields }
func (*RemoveResponse) Descriptor
deprecated
func (*RemoveResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveResponse.ProtoReflect.Descriptor instead.
func (*RemoveResponse) GetNodeId ¶
func (x *RemoveResponse) GetNodeId() string
func (*RemoveResponse) ProtoMessage ¶
func (*RemoveResponse) ProtoMessage()
func (*RemoveResponse) ProtoReflect ¶
func (x *RemoveResponse) ProtoReflect() protoreflect.Message
func (*RemoveResponse) Reset ¶
func (x *RemoveResponse) Reset()
func (*RemoveResponse) String ¶
func (x *RemoveResponse) String() string
func (*RemoveResponse) Validate ¶
func (m *RemoveResponse) Validate() error
Validate checks the field values on RemoveResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RemoveResponse) ValidateAll ¶
func (m *RemoveResponse) ValidateAll() error
ValidateAll checks the field values on RemoveResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RemoveResponseMultiError, or nil if none found.
type RemoveResponseMultiError ¶
type RemoveResponseMultiError []error
RemoveResponseMultiError is an error wrapping multiple validation errors returned by RemoveResponse.ValidateAll() if the designated constraints aren't met.
func (RemoveResponseMultiError) AllErrors ¶
func (m RemoveResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RemoveResponseMultiError) Error ¶
func (m RemoveResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RemoveResponseValidationError ¶
type RemoveResponseValidationError struct {
// contains filtered or unexported fields
}
RemoveResponseValidationError is the validation error returned by RemoveResponse.Validate if the designated constraints aren't met.
func (RemoveResponseValidationError) Cause ¶
func (e RemoveResponseValidationError) Cause() error
Cause function returns cause value.
func (RemoveResponseValidationError) Error ¶
func (e RemoveResponseValidationError) Error() string
Error satisfies the builtin error interface
func (RemoveResponseValidationError) ErrorName ¶
func (e RemoveResponseValidationError) ErrorName() string
ErrorName returns error name.
func (RemoveResponseValidationError) Field ¶
func (e RemoveResponseValidationError) Field() string
Field function returns field value.
func (RemoveResponseValidationError) Key ¶
func (e RemoveResponseValidationError) Key() bool
Key function returns key value.
func (RemoveResponseValidationError) Reason ¶
func (e RemoveResponseValidationError) Reason() string
Reason function returns reason value.
type Stats ¶
type Stats struct { Stats map[string]string `` /* 189-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Stats) Descriptor
deprecated
func (*Stats) ProtoMessage ¶
func (*Stats) ProtoMessage()
func (*Stats) ProtoReflect ¶
func (x *Stats) ProtoReflect() protoreflect.Message
func (*Stats) Validate ¶
Validate checks the field values on Stats with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Stats) ValidateAll ¶
ValidateAll checks the field values on Stats with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StatsMultiError, or nil if none found.
type StatsMultiError ¶
type StatsMultiError []error
StatsMultiError is an error wrapping multiple validation errors returned by Stats.ValidateAll() if the designated constraints aren't met.
func (StatsMultiError) AllErrors ¶
func (m StatsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StatsMultiError) Error ¶
func (m StatsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StatsRequest ¶
type StatsRequest struct { NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id" csv:"node_id" pg:"node_id" bun:"node_id" yaml:"node_id"` // contains filtered or unexported fields }
func (*StatsRequest) Descriptor
deprecated
func (*StatsRequest) Descriptor() ([]byte, []int)
Deprecated: Use StatsRequest.ProtoReflect.Descriptor instead.
func (*StatsRequest) GetNodeId ¶
func (x *StatsRequest) GetNodeId() string
func (*StatsRequest) ProtoMessage ¶
func (*StatsRequest) ProtoMessage()
func (*StatsRequest) ProtoReflect ¶
func (x *StatsRequest) ProtoReflect() protoreflect.Message
func (*StatsRequest) Reset ¶
func (x *StatsRequest) Reset()
func (*StatsRequest) String ¶
func (x *StatsRequest) String() string
func (*StatsRequest) Validate ¶
func (m *StatsRequest) Validate() error
Validate checks the field values on StatsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*StatsRequest) ValidateAll ¶
func (m *StatsRequest) ValidateAll() error
ValidateAll checks the field values on StatsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StatsRequestMultiError, or nil if none found.
type StatsRequestMultiError ¶
type StatsRequestMultiError []error
StatsRequestMultiError is an error wrapping multiple validation errors returned by StatsRequest.ValidateAll() if the designated constraints aren't met.
func (StatsRequestMultiError) AllErrors ¶
func (m StatsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StatsRequestMultiError) Error ¶
func (m StatsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StatsRequestValidationError ¶
type StatsRequestValidationError struct {
// contains filtered or unexported fields
}
StatsRequestValidationError is the validation error returned by StatsRequest.Validate if the designated constraints aren't met.
func (StatsRequestValidationError) Cause ¶
func (e StatsRequestValidationError) Cause() error
Cause function returns cause value.
func (StatsRequestValidationError) Error ¶
func (e StatsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (StatsRequestValidationError) ErrorName ¶
func (e StatsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (StatsRequestValidationError) Field ¶
func (e StatsRequestValidationError) Field() string
Field function returns field value.
func (StatsRequestValidationError) Key ¶
func (e StatsRequestValidationError) Key() bool
Key function returns key value.
func (StatsRequestValidationError) Reason ¶
func (e StatsRequestValidationError) Reason() string
Reason function returns reason value.
type StatsResponse ¶
type StatsResponse struct { NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id" pg:"node_id" bun:"node_id" yaml:"node_id" csv:"node_id"` Stats *Stats `protobuf:"bytes,2,opt,name=stats,proto3" json:"stats" csv:"stats" pg:"stats" bun:"stats" yaml:"stats"` // contains filtered or unexported fields }
func (*StatsResponse) Descriptor
deprecated
func (*StatsResponse) Descriptor() ([]byte, []int)
Deprecated: Use StatsResponse.ProtoReflect.Descriptor instead.
func (*StatsResponse) GetNodeId ¶
func (x *StatsResponse) GetNodeId() string
func (*StatsResponse) GetStats ¶
func (x *StatsResponse) GetStats() *Stats
func (*StatsResponse) ProtoMessage ¶
func (*StatsResponse) ProtoMessage()
func (*StatsResponse) ProtoReflect ¶
func (x *StatsResponse) ProtoReflect() protoreflect.Message
func (*StatsResponse) Reset ¶
func (x *StatsResponse) Reset()
func (*StatsResponse) String ¶
func (x *StatsResponse) String() string
func (*StatsResponse) Validate ¶
func (m *StatsResponse) Validate() error
Validate checks the field values on StatsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*StatsResponse) ValidateAll ¶
func (m *StatsResponse) ValidateAll() error
ValidateAll checks the field values on StatsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StatsResponseMultiError, or nil if none found.
type StatsResponseMultiError ¶
type StatsResponseMultiError []error
StatsResponseMultiError is an error wrapping multiple validation errors returned by StatsResponse.ValidateAll() if the designated constraints aren't met.
func (StatsResponseMultiError) AllErrors ¶
func (m StatsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StatsResponseMultiError) Error ¶
func (m StatsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StatsResponseValidationError ¶
type StatsResponseValidationError struct {
// contains filtered or unexported fields
}
StatsResponseValidationError is the validation error returned by StatsResponse.Validate if the designated constraints aren't met.
func (StatsResponseValidationError) Cause ¶
func (e StatsResponseValidationError) Cause() error
Cause function returns cause value.
func (StatsResponseValidationError) Error ¶
func (e StatsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (StatsResponseValidationError) ErrorName ¶
func (e StatsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (StatsResponseValidationError) Field ¶
func (e StatsResponseValidationError) Field() string
Field function returns field value.
func (StatsResponseValidationError) Key ¶
func (e StatsResponseValidationError) Key() bool
Key function returns key value.
func (StatsResponseValidationError) Reason ¶
func (e StatsResponseValidationError) Reason() string
Reason function returns reason value.
type StatsValidationError ¶
type StatsValidationError struct {
// contains filtered or unexported fields
}
StatsValidationError is the validation error returned by Stats.Validate if the designated constraints aren't met.
func (StatsValidationError) Cause ¶
func (e StatsValidationError) Cause() error
Cause function returns cause value.
func (StatsValidationError) Error ¶
func (e StatsValidationError) Error() string
Error satisfies the builtin error interface
func (StatsValidationError) ErrorName ¶
func (e StatsValidationError) ErrorName() string
ErrorName returns error name.
func (StatsValidationError) Field ¶
func (e StatsValidationError) Field() string
Field function returns field value.
func (StatsValidationError) Key ¶
func (e StatsValidationError) Key() bool
Key function returns key value.
func (StatsValidationError) Reason ¶
func (e StatsValidationError) Reason() string
Reason function returns reason value.