Skip to content

gospodinbodurov/ports-rest-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rest-client

A sample REST service, which is reading a json database and sending it to port domain service via GRPC. The read is done in background job and do not block the REST handlers.

You can run

go build -o main .

And after that

./main

A HTTP service will be started on port 10000

If you want to change the hostname and other parameters you can do

./main --httpAddress=localhost:10001 --serviceAddress=localhost:6667 --databaseFilename=./data.json

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published