Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Constraint ¶
type Constraint interface {
Validate(value int64, points map[string]*int64) bool
Behavior() ConstraintBehavior
}
func GreaterThan ¶
func GreaterThan(reference string, behavior ConstraintBehavior) Constraint
func LowerThan ¶
func LowerThan(reference string, behavior ConstraintBehavior) Constraint
type ConstraintBehavior ¶
type ConstraintBehavior int
const ( Reject ConstraintBehavior = iota Retry Nullify )
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
func NewGenerator ¶
Click to show internal directories.
Click to hide internal directories.