echo

module
v0.0.0-...-d8f9a74 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 18, 2019 License: MIT

README

gRPC Echo

A go gRPC server with mTLS (for encryption and authentication) that echos back any message you supply it

Requirements

Getting Started

Running Server

make go-server

Sending server a message

make go-client MESSAGE="hello"

Running tests

make go-test

Generating new TLS CA and Keys

Install certstrap found here https://github.com/square/certstrap

Delete the folder tls and remove existing certs and CA files

certstrap --depot-path "tls" init --common-name "Echo CA"
certstrap --depot-path "tls" request-cert --common-name Client -ip "127.0.0.1"
certstrap --depot-path "tls" sign Client --CA "Echo CA"

Directories

Path Synopsis
sdk
internal
api

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL