Documentation
¶
Index ¶
- Variables
- func UtilCheck(cValue interface{}, op operation.OP, value interface{}, e operation.Operation) bool
- type AndChecker
- func (a *AndChecker) Check(id document.DocId) bool
- func (a *AndChecker) DebugInfo() *debug.Debug
- func (a *AndChecker) Marshal() map[string]interface{}
- func (a *AndChecker) MarshalV2() *marshal.MarshalInfo
- func (a *AndChecker) SetDebug(level int)
- func (a *AndChecker) Unmarshal(idx index.Index, res map[string]interface{}) Checker
- func (a *AndChecker) UnmarshalV2(idx index.Index, info *marshal.MarshalInfo) Checker
- type Checker
- type CheckerImpl
- func (c *CheckerImpl) Check(id document.DocId) bool
- func (c *CheckerImpl) DebugInfo() *debug.Debug
- func (c *CheckerImpl) Marshal() map[string]interface{}
- func (c *CheckerImpl) MarshalV2() *marshal.MarshalInfo
- func (c *CheckerImpl) SetDebug(level int)
- func (c *CheckerImpl) Unmarshal(idx index.Index, res map[string]interface{}) Checker
- func (c *CheckerImpl) UnmarshalV2(idx index.Index, info *marshal.MarshalInfo) Checker
- type InChecker
- func (i *InChecker) Check(id document.DocId) bool
- func (i *InChecker) DebugInfo() *debug.Debug
- func (i *InChecker) Marshal() map[string]interface{}
- func (i *InChecker) MarshalV2() *marshal.MarshalInfo
- func (i *InChecker) SetDebug(level int)
- func (i *InChecker) Unmarshal(idx index.Index, res map[string]interface{}) Checker
- func (i *InChecker) UnmarshalV2(idx index.Index, info *marshal.MarshalInfo) Checker
- type NotAndChecker
- func (na *NotAndChecker) Check(id document.DocId) bool
- func (na *NotAndChecker) DebugInfo() *debug.Debug
- func (na *NotAndChecker) Marshal() map[string]interface{}
- func (na *NotAndChecker) MarshalV2() *marshal.MarshalInfo
- func (na *NotAndChecker) SetDebug(level int)
- func (na *NotAndChecker) Unmarshal(idx index.Index, res map[string]interface{}) Checker
- func (na *NotAndChecker) UnmarshalV2(idx index.Index, info *marshal.MarshalInfo) Checker
- type NotChecker
- func (nc *NotChecker) Check(id document.DocId) bool
- func (nc *NotChecker) DebugInfo() *debug.Debug
- func (nc *NotChecker) Marshal() map[string]interface{}
- func (nc *NotChecker) MarshalV2() *marshal.MarshalInfo
- func (nc *NotChecker) SetDebug(level int)
- func (nc *NotChecker) Unmarshal(idx index.Index, res map[string]interface{}) Checker
- func (nc *NotChecker) UnmarshalV2(idx index.Index, info *marshal.MarshalInfo) Checker
- type OrChecker
- func (o *OrChecker) Check(id document.DocId) bool
- func (o *OrChecker) DebugInfo() *debug.Debug
- func (o *OrChecker) Marshal() map[string]interface{}
- func (o *OrChecker) MarshalV2() *marshal.MarshalInfo
- func (o *OrChecker) SetDebug(level int)
- func (o *OrChecker) Unmarshal(idx index.Index, res map[string]interface{}) Checker
- func (o *OrChecker) UnmarshalV2(idx index.Index, info *marshal.MarshalInfo) Checker
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type AndChecker ¶
type AndChecker struct {
// contains filtered or unexported fields
}
func NewAndChecker ¶
func NewAndChecker(c []Checker) *AndChecker
func (*AndChecker) DebugInfo ¶
func (a *AndChecker) DebugInfo() *debug.Debug
func (*AndChecker) Marshal ¶
func (a *AndChecker) Marshal() map[string]interface{}
func (*AndChecker) MarshalV2 ¶ added in v0.0.14
func (a *AndChecker) MarshalV2() *marshal.MarshalInfo
func (*AndChecker) SetDebug ¶
func (a *AndChecker) SetDebug(level int)
func (*AndChecker) Unmarshal ¶
func (a *AndChecker) Unmarshal(idx index.Index, res map[string]interface{}) Checker
func (*AndChecker) UnmarshalV2 ¶ added in v0.0.14
func (a *AndChecker) UnmarshalV2(idx index.Index, info *marshal.MarshalInfo) Checker
type Checker ¶
type Checker interface { Check(id document.DocId) bool DebugInfo() *debug.Debug SetDebug(level int) Marshal() map[string]interface{} Unmarshal(idx index.Index, res map[string]interface{}) Checker MarshalV2() *marshal.MarshalInfo UnmarshalV2(idx index.Index, marshalInfo *marshal.MarshalInfo) Checker }
type CheckerImpl ¶
type CheckerImpl struct {
// contains filtered or unexported fields
}
func NewChecker ¶
func NewChecker(si datastruct.Iterator, value interface{}, op operation.OP, e operation.Operation, transfer bool) *CheckerImpl
func (*CheckerImpl) DebugInfo ¶
func (c *CheckerImpl) DebugInfo() *debug.Debug
func (*CheckerImpl) Marshal ¶
func (c *CheckerImpl) Marshal() map[string]interface{}
func (*CheckerImpl) MarshalV2 ¶ added in v0.0.14
func (c *CheckerImpl) MarshalV2() *marshal.MarshalInfo
func (*CheckerImpl) SetDebug ¶
func (c *CheckerImpl) SetDebug(level int)
func (*CheckerImpl) Unmarshal ¶
func (c *CheckerImpl) Unmarshal(idx index.Index, res map[string]interface{}) Checker
func (*CheckerImpl) UnmarshalV2 ¶ added in v0.0.14
func (c *CheckerImpl) UnmarshalV2(idx index.Index, info *marshal.MarshalInfo) Checker
type InChecker ¶
type InChecker struct {
// contains filtered or unexported fields
}
func NewInChecker ¶
func (*InChecker) MarshalV2 ¶ added in v0.0.14
func (i *InChecker) MarshalV2() *marshal.MarshalInfo
func (*InChecker) UnmarshalV2 ¶ added in v0.0.14
type NotAndChecker ¶
type NotAndChecker struct {
// contains filtered or unexported fields
}
func NewNotAndChecker ¶
func NewNotAndChecker(c []Checker) *NotAndChecker
func (*NotAndChecker) DebugInfo ¶
func (na *NotAndChecker) DebugInfo() *debug.Debug
func (*NotAndChecker) Marshal ¶
func (na *NotAndChecker) Marshal() map[string]interface{}
func (*NotAndChecker) MarshalV2 ¶ added in v0.0.14
func (na *NotAndChecker) MarshalV2() *marshal.MarshalInfo
func (*NotAndChecker) SetDebug ¶
func (na *NotAndChecker) SetDebug(level int)
func (*NotAndChecker) Unmarshal ¶
func (na *NotAndChecker) Unmarshal(idx index.Index, res map[string]interface{}) Checker
func (*NotAndChecker) UnmarshalV2 ¶ added in v0.0.14
func (na *NotAndChecker) UnmarshalV2(idx index.Index, info *marshal.MarshalInfo) Checker
type NotChecker ¶
type NotChecker struct {
// contains filtered or unexported fields
}
func NewNotChecker ¶
func NewNotChecker(si datastruct.Iterator, value interface{}, e operation.Operation, transfer bool) *NotChecker
func (*NotChecker) DebugInfo ¶
func (nc *NotChecker) DebugInfo() *debug.Debug
func (*NotChecker) Marshal ¶
func (nc *NotChecker) Marshal() map[string]interface{}
func (*NotChecker) MarshalV2 ¶ added in v0.0.14
func (nc *NotChecker) MarshalV2() *marshal.MarshalInfo
func (*NotChecker) SetDebug ¶
func (nc *NotChecker) SetDebug(level int)
func (*NotChecker) Unmarshal ¶
func (nc *NotChecker) Unmarshal(idx index.Index, res map[string]interface{}) Checker
func (*NotChecker) UnmarshalV2 ¶ added in v0.0.14
func (nc *NotChecker) UnmarshalV2(idx index.Index, info *marshal.MarshalInfo) Checker
type OrChecker ¶
type OrChecker struct {
// contains filtered or unexported fields
}
func NewOrChecker ¶
func (*OrChecker) MarshalV2 ¶ added in v0.0.14
func (o *OrChecker) MarshalV2() *marshal.MarshalInfo
func (*OrChecker) UnmarshalV2 ¶ added in v0.0.14
Click to show internal directories.
Click to hide internal directories.