forms

package
v0.0.0-...-e7b4219 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2020 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Configure

func Configure(r *gin.Engine)

Configure registers all handler

func TitanicHandler

func TitanicHandler(c *gin.Context)
final testing using curl
curl --header "Content-Type: application/json" \
  --request POST \
  --data '{"sex":"0", "age":"22", "n_siblings_spouses":"1", "parch":"0", "fare":"7.25", "class":"0", "deck":"0", "embark_town":"0", "alone":"0"}' \
  http://localhost:30096/forms/titanic

Types

This section is empty.

Jump to

Keyboard shortcuts

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