Skip to content

yurakawa/proglog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CMD

server

$ go run main.go

client

curl -X POST localhost:8080 -d
'{"record": {"value": "TGV0J3MgR28gIzEK"}}' curl -X POST localhost:8080 -d
'{"record": {"value": "TGV0J3MgR28gIzIK"}}' curl -X POST localhost:8080 -d
'{"record": {"value": "TGV0J3MgR28gIzMK"}}'

curl -X GET localhost:8080 -d '{"offset": 0}' curl -X GET localhost:8080 -d '{"offset": 1}' curl -X GET localhost:8080 -d '{"offset": 2}'

Deploy to Kind

Deploy
$ kind create cluster
$ make build-docker
$ kind load docker-image github.com/yurakawa/proglog:0.0.1
$ helm install proglog deploy/proglog
$ kubectl relay host/proglog-0.proglog.default.svc.cluster.local 8400

Delete
$ helm delete proglog

Send Request

$ go run cmd/getservers/main.go

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published