# README
Gossip Registry
Gossip is a zero dependency registry which uses github.com/hashicorp/memberlist to broadcast registry information via the SWIM protocol.
Usage
Start with the registry flag or env var
MICRO_REGISTRY=gossip go run service.go
On startup you'll see something like
2018/12/06 18:17:48 Registry Listening on 192.168.1.65:56390
To join this gossip ring set the registry address using flag or env var
MICRO_REGISTRY_ADDRESS=192.168.1.65:56390
# Packages
No description provided by the author
# Functions
Address to bind to - host:port.
The address to advertise for other gossip members to connect to - host:port.
Config sets *memberlist.Config for configuring gossip.
ConnectRetry enables reconnect to registry then connection closed, use with ConnectTimeout to specify how long retry.
ConnectTimeout sets the registry connect timeout.
No description provided by the author
Secret specifies an encryption key.
# Variables
exactly 16 bytes.
needs to be smaller than registry.RegisterTTL.
No description provided by the author