routes

package
v0.0.0-...-3590cfd Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Env     = "ENV"
	Hello   = "HELLO"
	Exit    = "EXIT"
	Index   = "INDEX"
	Port    = "PORT"
	Headers = "HEADERS"
)

Variables

View Source
var Routes = rata.Routes{
	{Path: "/", Method: "GET", Name: Hello},
	{Path: "/env", Method: "GET", Name: Env},
	{Path: "/exit", Method: "GET", Name: Exit},
	{Path: "/index", Method: "GET", Name: Index},
	{Path: "/port", Method: "GET", Name: Port},
	{Path: "/headers", Method: "GET", Name: Headers},
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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