Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArgsValidationError ¶
type ArgsValidationError struct {
// contains filtered or unexported fields
}
ArgsValidationError is the validation error returned by Args.Validate if the designated constraints aren't met.
func (ArgsValidationError) Cause ¶
func (e ArgsValidationError) Cause() error
Cause function returns cause value.
func (ArgsValidationError) Error ¶
func (e ArgsValidationError) Error() string
Error satisfies the builtin error interface
func (ArgsValidationError) ErrorName ¶
func (e ArgsValidationError) ErrorName() string
ErrorName returns error name.
func (ArgsValidationError) Field ¶
func (e ArgsValidationError) Field() string
Field function returns field value.
func (ArgsValidationError) Key ¶
func (e ArgsValidationError) Key() bool
Key function returns key value.
func (ArgsValidationError) Reason ¶
func (e ArgsValidationError) Reason() string
Reason function returns reason value.
type LoginReqValidationError ¶
type LoginReqValidationError struct {
// contains filtered or unexported fields
}
LoginReqValidationError is the validation error returned by LoginReq.Validate if the designated constraints aren't met.
func (LoginReqValidationError) Cause ¶
func (e LoginReqValidationError) Cause() error
Cause function returns cause value.
func (LoginReqValidationError) Error ¶
func (e LoginReqValidationError) Error() string
Error satisfies the builtin error interface
func (LoginReqValidationError) ErrorName ¶
func (e LoginReqValidationError) ErrorName() string
ErrorName returns error name.
func (LoginReqValidationError) Field ¶
func (e LoginReqValidationError) Field() string
Field function returns field value.
func (LoginReqValidationError) Key ¶
func (e LoginReqValidationError) Key() bool
Key function returns key value.
func (LoginReqValidationError) Reason ¶
func (e LoginReqValidationError) Reason() string
Reason function returns reason value.
type LoginRespValidationError ¶
type LoginRespValidationError struct {
// contains filtered or unexported fields
}
LoginRespValidationError is the validation error returned by LoginResp.Validate if the designated constraints aren't met.
func (LoginRespValidationError) Cause ¶
func (e LoginRespValidationError) Cause() error
Cause function returns cause value.
func (LoginRespValidationError) Error ¶
func (e LoginRespValidationError) Error() string
Error satisfies the builtin error interface
func (LoginRespValidationError) ErrorName ¶
func (e LoginRespValidationError) ErrorName() string
ErrorName returns error name.
func (LoginRespValidationError) Field ¶
func (e LoginRespValidationError) Field() string
Field function returns field value.
func (LoginRespValidationError) Key ¶
func (e LoginRespValidationError) Key() bool
Key function returns key value.
func (LoginRespValidationError) Reason ¶
func (e LoginRespValidationError) Reason() string
Reason function returns reason value.
type ResultValidationError ¶
type ResultValidationError struct {
// contains filtered or unexported fields
}
ResultValidationError is the validation error returned by Result.Validate if the designated constraints aren't met.
func (ResultValidationError) Cause ¶
func (e ResultValidationError) Cause() error
Cause function returns cause value.
func (ResultValidationError) Error ¶
func (e ResultValidationError) Error() string
Error satisfies the builtin error interface
func (ResultValidationError) ErrorName ¶
func (e ResultValidationError) ErrorName() string
ErrorName returns error name.
func (ResultValidationError) Field ¶
func (e ResultValidationError) Field() string
Field function returns field value.
func (ResultValidationError) Key ¶
func (e ResultValidationError) Key() bool
Key function returns key value.
func (ResultValidationError) Reason ¶
func (e ResultValidationError) Reason() string
Reason function returns reason value.
type StringMsgValidationError ¶
type StringMsgValidationError struct {
// contains filtered or unexported fields
}
StringMsgValidationError is the validation error returned by StringMsg.Validate if the designated constraints aren't met.
func (StringMsgValidationError) Cause ¶
func (e StringMsgValidationError) Cause() error
Cause function returns cause value.
func (StringMsgValidationError) Error ¶
func (e StringMsgValidationError) Error() string
Error satisfies the builtin error interface
func (StringMsgValidationError) ErrorName ¶
func (e StringMsgValidationError) ErrorName() string
ErrorName returns error name.
func (StringMsgValidationError) Field ¶
func (e StringMsgValidationError) Field() string
Field function returns field value.
func (StringMsgValidationError) Key ¶
func (e StringMsgValidationError) Key() bool
Key function returns key value.
func (StringMsgValidationError) Reason ¶
func (e StringMsgValidationError) Reason() string
Reason function returns reason value.
type UserValidationError ¶
type UserValidationError struct {
// contains filtered or unexported fields
}
UserValidationError is the validation error returned by User.Validate if the designated constraints aren't met.
func (UserValidationError) Cause ¶
func (e UserValidationError) Cause() error
Cause function returns cause value.
func (UserValidationError) Error ¶
func (e UserValidationError) Error() string
Error satisfies the builtin error interface
func (UserValidationError) ErrorName ¶
func (e UserValidationError) ErrorName() string
ErrorName returns error name.
func (UserValidationError) Field ¶
func (e UserValidationError) Field() string
Field function returns field value.
func (UserValidationError) Key ¶
func (e UserValidationError) Key() bool
Key function returns key value.
func (UserValidationError) Reason ¶
func (e UserValidationError) Reason() string
Reason function returns reason value.