One-line description of what your module does.
A MuxCore sidecar module that does X. Without this module, core can't do Y.
Client request ──→ your-module ──→ muxcored
│
▼
Does the thing
Explanation.
Explanation.
| Flag | Default | Description |
|---|---|---|
--flag-name |
value | Description |
| Variable | Default | Description |
|---|---|---|
YOUR_MODULE_ADDR |
:9400 |
Listen address |
# Build
make build
# Run against local core (dev mode)
export MUXCORE_INSECURE_DISABLE_TLS=true
./your-module --muxcore-mesh-addr localhost:9090make docker
docker run -d --restart=unless-stopped \
-e MUXCORE_GRPC_ADDR=core:9090 \
ghcr.io/yourorg/your-module:latestdocker compose -f deploy/docker-compose.yml upsudo cp deploy/systemd/muxcore-module.service /etc/systemd/system/
sudo systemctl daemon-reload
sudo systemctl enable --now muxcore-modulemake dev # run in dev mode
make test # run tests
make lint # golangci-lint
make fmt # format code# Start core in dev mode, then:
MUXCORE_GRPC_ADDR=localhost:9090 go test -tags=integration -race -count=1 ./test/- Registers with capabilities:
"your.capability" - Implements
contracts.YourContract - Uses
contracts.DatabaseProviderfor persistence
GPL-3.0