input

package
v0.0.0-...-5024c58 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	QItemID   = "itemId"
	QItemList = "itemList"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ItemData

type ItemData struct {
	StringField string   `json:"stringField", rethinkdb:"stringField"`
	ListField   []string `json:"listField", rethinkdb:"listField"`
	IntField    int      `json:"intField", rethinkdb:"intField"`
	BoolField   bool     `json:"boolField", rethinkdb:"boolField"`

	ID string `json:"id", rethinkdb:"id"`
}

func (*ItemData) ValidateFields

func (u *ItemData) ValidateFields() error

type URLParams

type URLParams = map[string]interface{}

func ExtractParameters

func ExtractParameters(_r *http.Request) (*URLParams, error)

Jump to

Keyboard shortcuts

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