Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type InheritNonExistingTagError ¶
type InheritNonExistingTagError struct {
// contains filtered or unexported fields
}
InheritNonExistingTagError indicate that defined heredity does not exist.
func (InheritNonExistingTagError) Error ¶
func (i InheritNonExistingTagError) Error() string
type InvalidTypeError ¶
type InvalidTypeError struct {
// contains filtered or unexported fields
}
InvalidTypeError indicate that a type is invalid.
func (InvalidTypeError) Error ¶
func (i InvalidTypeError) Error() string
type UnknownPathError ¶
type UnknownPathError struct {
// contains filtered or unexported fields
}
UnknownPathError indicate that defined path does not exist.
func (UnknownPathError) Error ¶
func (u UnknownPathError) Error() string
type UnknownRuleError ¶
type UnknownRuleError struct {
// contains filtered or unexported fields
}
UnknownRuleError indicate that requested rule is not known.
func (UnknownRuleError) Error ¶
func (u UnknownRuleError) Error() string
type Validator ¶
type Validator struct {
// contains filtered or unexported fields
}
Validator interprets reference to validate JSON patch operations.
func NewValidator ¶
NewValidator create a new instance of validator using given reference.
func (*Validator) RegisterRule ¶
RegisterRule register addition rule for specific key (must have prefix `jp_`).
func (*Validator) UseReference ¶
UseReference interpret given reference to model rule set.
Click to show internal directories.
Click to hide internal directories.