No description
- Go 94.1%
- Makefile 4.5%
- Dockerfile 1.4%
* chore(deps): bump actions/setup-go to v7 Self-hosted CI workflows. * ci: disable setup-go cache on self-hosted * ci: clean retrigger * ci: retrigger after queue clear |
||
|---|---|---|
| .github | ||
| cmd/module | ||
| deploy | ||
| internal | ||
| test | ||
| .dockerignore | ||
| .env.example | ||
| .gitignore | ||
| .golangci.yml | ||
| CHANGELOG.md | ||
| COMPATIBILITY.md | ||
| CONTRIBUTING.md | ||
| Dockerfile | ||
| go.mod | ||
| go.sum | ||
| LICENSE | ||
| Makefile | ||
| muxcore.json | ||
| README.md | ||
| SECURITY.md | ||
Database SQLite
SQLite database provider for MuxCore (pure Go, no CGO).
A MuxCore sidecar module that exposes a shared SQLite database over gRPC (Exec / Query / Transaction / Migrate / Rollback). Uses modernc.org/sqlite so builds need no C toolchain. Provides the database capability.
How It Works
Module request ──→ database-sqlite (gRPC) ──→ SQLite (WAL)
Opened with WAL journaling, busy timeout, and foreign keys enabled. Single-connection pool for safe concurrent access through the sidecar.
Configuration
| Variable | Default | Description |
|---|---|---|
SQLITE_DB_PATH |
muxcore.db |
SQLite database file path |
DATABASE_GRPC_ADDR |
:9700 |
gRPC listen address |
Quick Start
make build
export MUXCORE_INSECURE_DISABLE_TLS=true
./database-sqlite --muxcore-mesh-addr localhost:9090
Capability
database — Shared SQLite database provider
License
GPL-3.0