No description
  • Go 90.3%
  • Makefile 7.6%
  • Dockerfile 2.1%
Find a file
zemdregon 73d329531a
Some checks are pending
CI / lint (push) Waiting to run
CI / test (push) Waiting to run
CI / build (push) Waiting to run
CI / docker (push) Blocked by required conditions
chore(deps): bump docker/setup-buildx-action to v4
Self-hosted CI workflows only.
2026-08-10 18:18:36 -05:00
.github/workflows chore(deps): bump docker/setup-buildx-action to v4 2026-08-10 18:18:36 -05:00
cmd/module chore: add CI/LICENSE and align module bootstrap 2026-07-22 19:10:04 -05:00
internal fix(ci): self-hosted runners; packaging v0.1.2 2026-08-10 10:34:01 -05:00
.env.example Add SettingsProvider for max payload limit (v0.1.1). 2026-08-10 04:06:55 -05:00
.gitignore Initial commit 2026-07-03 12:03:15 -05:00
.golangci.yml docs: cut v0.1.0 for JSON/msgpack Convert sidecar (#4) 2026-08-09 20:23:42 -05:00
CHANGELOG.md fix(ci): self-hosted runners; packaging v0.1.2 2026-08-10 10:34:01 -05:00
COMPATIBILITY.md docs: list serialization capabilities in COMPATIBILITY (#5) 2026-08-09 20:24:08 -05:00
Dockerfile Initial commit 2026-07-03 12:03:15 -05:00
go.mod Add SettingsProvider for max payload limit (v0.1.1). 2026-08-10 04:06:55 -05:00
go.sum Add SettingsProvider for max payload limit (v0.1.1). 2026-08-10 04:06:55 -05:00
LICENSE chore: add CI/LICENSE and align module bootstrap 2026-07-22 19:10:04 -05:00
Makefile Initial commit 2026-07-03 12:03:15 -05:00
muxcore.json fix(ci): self-hosted runners; packaging v0.1.2 2026-08-10 10:34:01 -05:00
README.md chore: add CI/LICENSE and align module bootstrap 2026-07-22 19:10:04 -05:00

Serialization Safe

Go Version License: GPL-3.0

Safe content-type serialization provider for the MuxCore fabric.

A MuxCore sidecar module that provides bidirectional conversion between JSON and MessagePack (msgpack) content types. When a task or message needs serialization in a format that differs from the source, the Serialization Safe module handles the conversion safely and efficiently.

How It Works

Source data (JSON/msgpack) ──→ serialization-safe (gRPC) ──→ Convert()
                                   │
                                   ▼
                            Target data (JSON/msgpack)

Configuration

Variable Default Description
SERIALIZATION_GRPC_ADDR :9630 gRPC listen address
MUXCORE_GRPC_ADDR Core gRPC address
MUXCORE_INSECURE_DISABLE_TLS Disable TLS when set to true (dev mode)
MUXCORE_MODULE_ID Override module ID (SDK)

RPCs

  • Convert(sourceContentType, targetContentType, data) — convert data between supported serialization formats
  • SupportedTypes() — return the list of supported content types

Supported types: application/json, application/msgpack.

Dependencies

  • github.com/vmihailenco/msgpack/v5 — MessagePack encoding/decoding
  • google.golang.org/grpc — gRPC service framework
  • github.com/Muxcore-Media/core — contracts and module SDK

Build & Develop

make build   # compile the module binary
make test    # run tests with race detection
make lint    # golangci-lint
make fmt     # format Go source
make docker  # build Docker image

Capabilities

  • Registers with capabilities: serialization, serialization.safe
  • Declares contract SerializationProvider; serves gRPC SerializationService (Convert, SupportedTypes)

License

GPL-3.0