wire-codegen

command
v0.1.147 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2026 License: GPL-2.0, GPL-3.0 Imports: 9 Imported by: 0

Documentation

Overview

Command wire-codegen generates TypeScript interfaces and validating decoders from Go wire types using the wiregen library (AST-based; github.com/cplieger/wiregen). Output lands in internal/server/static-src/wire/ (types.gen.ts + decoders.gen.ts) and is consumed directly by ~13 client modules; api-types.ts re-exports the common surface for callers that want a single import seam.

Run: go run ./cmd/wire-codegen (from the subflux repo root)

Jump to

Keyboard shortcuts

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