form

package
v0.0.0-...-633cbd0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 14, 2020 License: MIT Imports: 1 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL