Documentation ¶
Index ¶
- type Echo
- func (*Echo) Descriptor() ([]byte, []int)
- func (*Echo) ProtoMessage()
- func (m *Echo) Reset()
- func (m *Echo) String() string
- func (m *Echo) Validate() error
- func (m *Echo) XXX_DiscardUnknown()
- func (m *Echo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Echo) XXX_Merge(src proto.Message)
- func (m *Echo) XXX_Size() int
- func (m *Echo) XXX_Unmarshal(b []byte) error
- type EchoValidationError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Echo ¶
type Echo struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Echo) Descriptor ¶
func (*Echo) ProtoMessage ¶
func (*Echo) ProtoMessage()
func (*Echo) Validate ¶
Validate checks the field values on Echo with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Echo) XXX_DiscardUnknown ¶
func (m *Echo) XXX_DiscardUnknown()
func (*Echo) XXX_Unmarshal ¶
type EchoValidationError ¶
type EchoValidationError struct {
// contains filtered or unexported fields
}
EchoValidationError is the validation error returned by Echo.Validate if the designated constraints aren't met.
func (EchoValidationError) Cause ¶
func (e EchoValidationError) Cause() error
Cause function returns cause value.
func (EchoValidationError) Error ¶
func (e EchoValidationError) Error() string
Error satisfies the builtin error interface
func (EchoValidationError) ErrorName ¶
func (e EchoValidationError) ErrorName() string
ErrorName returns error name.
func (EchoValidationError) Field ¶
func (e EchoValidationError) Field() string
Field function returns field value.
func (EchoValidationError) Key ¶
func (e EchoValidationError) Key() bool
Key function returns key value.
func (EchoValidationError) Reason ¶
func (e EchoValidationError) Reason() string
Reason function returns reason value.
Click to show internal directories.
Click to hide internal directories.