Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeyFieldValueForm ¶
type KeyFieldValueForm struct {
Key string `json:"key"`
Field string `json:"field"`
Value string `json:"value"`
}
func (*KeyFieldValueForm) Validate ¶
func (v *KeyFieldValueForm) Validate() []string
Validate represent the validation method from KeyValueForm
type KeyValueForm ¶
type KeyValueForm struct {
Key string `json:"key"`
Value interface{} `json:"value"`
Expiry time.Duration `json:"expiry"`
}
func (*KeyValueForm) Validate ¶
func (v *KeyValueForm) Validate() []string
Validate represent the validation method from KeyValueForm
type KeyValuesForm ¶
type KeyValuesForm struct {
Key string `json:"key"`
Values []interface{} `json:"values"`
}
func (*KeyValuesForm) Validate ¶
func (v *KeyValuesForm) Validate() []string
Validate represent the validation method from KeyValuesForm
Click to show internal directories.
Click to hide internal directories.