server

package
v0.0.0-...-011555b Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IndexHandler

func IndexHandler(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

func Run

func Run()

func Static

func Static(directory string) func(w http.ResponseWriter, r *http.Request)

Types

type Form

type Form struct {
	Name    string `json:"name" xml:"name" form:"name" query:"name"`
	Email   string `json:"email" xml:"email" form:"email" query:"email"`
	Message string `json:"message" xml:"message" form:"message" query:"message"`
}

Jump to

Keyboard shortcuts

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