magma

package module
v0.35.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2026 License: MIT Imports: 16 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

magma

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Entity added in v0.20.0

func Entity[T any](ignoreFields ...string) proton.Msg

Entity creates entity definition.

func Generate

func Generate(filePath string, entities ...proton.Msg)

Generate generates serialization code for entities.

func Run

func Run(
	ctx context.Context,
	cfg config.Config,
	p2pListener, c2pListener net.Listener,
) (retErr error)

Run runs magma.

Types

This section is empty.

Directories

Path Synopsis
wire
Package wire provides marshaller for entities.
Package wire provides marshaller for entities.
wire/generate command
wire/c2p
Package c2p provides marshaller for entities.
Package c2p provides marshaller for entities.
wire/hello
Package hello provides marshaller for entities.
Package hello provides marshaller for entities.
wire/l2p
Package l2p provides marshaller for entities.
Package l2p provides marshaller for entities.
wire/p2p
Package p2p provides marshaller for entities.
Package p2p provides marshaller for entities.
integration
entities
Package entities provides marshaller for entities.
Package entities provides marshaller for entities.
entities2
Package entities2 provides marshaller for entities.
Package entities2 provides marshaller for entities.
pkg
events/format
Package format provides marshaller for entities.
Package format provides marshaller for entities.
repository/format
Package format provides marshaller for entities.
Package format provides marshaller for entities.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址