add/

directory
v0.0.0-...-3c3176f Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2017 License: GPL-3.0

README

This is based on go-kit/kit/examples/addsvc.

Installation

dep ensure

Usage

Server

cd cmd/add
go build
./add
curl -XPOST -d'{"a":1, "b":2}' localhost:8081/sum
curl -XPOST -d'{"a":"1", "b":"2"}' localhost:8081/concat

Directories

Path Synopsis
cmd
add
pkg

Jump to

Keyboard shortcuts

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