nethttp

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Provides facility to read request data from net/http request into a DataForm instance

Note that validation is not done on the data.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadForm

func ReadForm(r http.Request, tag string) (crudiator.DataForm, error)

Reads from the request's query parameters and form fields

func ReadJson

func ReadJson(r http.Request) (crudiator.DataForm, error)

Reads json data from the request body

Types

This section is empty.

Jump to

Keyboard shortcuts

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