Three different ways to connect two Go services with gRPC

Published

I couldn’t find a single article explaining the different ways of connecting two Go applications using gRPC. After many tries, I came to the final 3 most useful ways to go:

Basic connection, no security

First, and easiest, is to not use TLS at all and not require any certificate. This mode is most useful if you have no certificate or if you don’t care about security, as transport is just HTTP, everything is in clear :-)