modulepackage
0.0.0-20220821175721-c5732da6818a
Repository: https://github.com/juanmachuca95/learntls_go.git
Documentation: pkg.go.dev
# README
learnTLS_go
Implementación tls para gRPC Server + gRPC Gateway Server. Inspirado en el articulo https://medium.com/@mertkimyonsen/securing-grpc-connection-with-ssl-tls-certificate-using-go-db3852fe89dd
Gen certs
make gen-cert
Gen stubs
buf generate
Test with grpcurl - gRPC Server
./grpcurl -insecure -d '{"name":"Juan"}' localhost:8080 helloworld.Greete│
r.SayHello
{
"message": "Juan world"
}
Test with curl - gRPC Gateway
curl -k -X POST https://localhost:8080/v1/example/echo -d '{"name":"juan"}'
# response
{"message":"juan world"}
# Packages
No description provided by the author
# Functions
No description provided by the author