Go servicesΒΆ
Repo: peergos-compliance-go.
Each of pfc-admin, pfc-pin, pfc-repl starts internal/leaf:
a local NATS (127.0.0.1 random port) with LeafNode.Remotes to the hub.
pfc-configd serves the configuration SPA.
Build:
cd peergos-compliance-go
make linux # GOOS=linux GOARCH=amd64
Units: /etc/systemd/system/pfc-*.service on ns1, User root or pfc,
bind HTTP to 127.0.0.1 only.