neibla / streaming-grpc-with-mtls

Demo Golang project with a bidirectional streaming gRPC server and mTLS authentication

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Streaming Bidirectional gRPC Server With mTLS Authentication - a Golang Example

Requirements:

  • Golang 1.16

Install Dependencies

go get ./...

Setup Development Certificates

make generate-dev-certs

Start Server

make start-server

Start Client

make start-client

Configure client certs with client/config.env

About

Demo Golang project with a bidirectional streaming gRPC server and mTLS authentication

License:MIT License


Languages

Language:Go 76.2%Language:Shell 21.7%Language:Makefile 2.1%