Skip to content

evankanderson/sia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Serve It All

A simple HTTP/1.1, HTTP/2 and grpc server to be used as a backend for Istio.

Usage

PORT=8080 ./main

Via HTTP/1.1

curl -d "test" localhost:8080

Via HTTP/2 (untested, my debian is old)

curl -d "test" --http2 localhost:8080

Via gRPC with polyglot

echo '{"thing": "it"}' | java -jar polyglot.jar \
  --command=call \
  --endpoint localhost:8080 
  --full_method=doer.Doer/DoIt 
  --proto_discovery_root=doer 
  --use_tls=false

About

Serve HTTP/1.1, 2.0 and grpc

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published