v1

package
v0.0.0-...-14c8dc9 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Greet

func Greet(res http.ResponseWriter, req *http.Request)

Greet is one of the interesting bits. It gets a name out of the query string, if one was provided. And then it returns a string.

func Root

func Root(res http.ResponseWriter, req *http.Request)

Root is the top-level handler for this version of the API. All requests for this version of the API start here. Requests are directed here by `Root.ServeHTTP` in `hello.go`. From here they will be forwarded onto the interesting bits. Invalid paths raise an error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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