8000 GitHub - mackdoyle/nouns
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

mackdoyle/nouns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nouns

A service for storing people, places and things that interest you.

NOTE: Just Playing with Go-Kit. For the real source, see: https://github.com/go-kit

Getting Started

  1. Navigate to the Nouns project
cd ${GOPATH}/src/github.com/mackdoyle/nouns
  1. Build the latest source
go build
  1. In a second terminal, start three web servers and then a fourth that proxies to the first three via port 9000
nouns -listen=:8001 & nouns -listen=:8002 & nouns -listen=:8003 & nouns -listen=:9000 -proxy=localhost:8001,localhost:8002,localhost:8003

Posting Data

To post to the noun service, you can use cURL and pass in an example body.

curl -X POST -d @schemas/examples/noun.json localhost:9000/noun

Quitting

Once you are done testing, you can stop all servers using this nifty command

kill -9  $(ps aux | grep listen | grep -v grep | awk '{print $2}')

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0