go-hello-ozzo-routing

command module
v0.0.0-...-4ea445f Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2018 License: MIT Imports: 9 Imported by: 0

README

go-hello-ozzo-routing

Part of a comparision of Go HTTP routers.

  1. github.com/go-ozzo
  2. github.com/go-ozzo/ozzo-routing

Usage

Invocation
Server
go-hello-ozzo-routing
Client

In a web browser:

  1. Visit http://localhost:8080/ for "Hello world"

curl commands

curl -v -X GET http://localhost:8080/streaming

Development

Dependencies
Set environment variables
export GOPATH="${HOME}/go"
export PATH="${PATH}:${GOPATH}/bin:/usr/local/go/bin"
export PROJECT_DIR="${GOPATH}/src/github.com/docktermj"
export REPOSITORY_DIR="${PROJECT_DIR}/go-hello-ozzo-routing"
Download project
mkdir -p ${PROJECT_DIR}
cd ${PROJECT_DIR}
git clone git@github.com:docktermj/go-hello-ozzo-routing.git
Download dependencies
cd ${REPOSITORY_DIR}
make dependencies
Build
Local build
cd ${REPOSITORY_DIR}
make

The results will be in the ${GOPATH}/bin directory.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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