try-go-rabbitmq-tls

command module
v0.0.0-...-2b0372d Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2019 License: MIT Imports: 6 Imported by: 0

README

try-go-rabbitmq-tls


very quick and dirty example of configuring rabbitmq and go client to connect via TLS connection

for demonstration purpose only

Certificates generation

Create Cerfificate Authority first, then create server and client certificates by signing with created CA certificate, example certificates in cert directory

RabbitMQ configuration

see rabbitmq.config and rabbitmq-env.conf examples in this repository. note that rabbitmq.config uses Erlang term configuration format

running main executable

This project uses go module as dependency manager and go version 1.12

export environment variables first, example in .env then run with go run main.go

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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