event

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2026 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Overview

Package event emits deterministic typed event values and event-schema registries for subscription-enabled models.

Index

Constants

View Source
const Filename = "zz_golem_events.gen.go"

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	ImportPath  string
	PackageName string
	Path        string
	Source      []byte
}

func Emit

func Emit(request Request) ([]File, error)

type Request

type Request struct {
	Compilation       ir.CompilationIR
	Packages          []modelcodegen.PackageSpec
	GolemImportPath   string
	RuntimeImportPath string
	FinalStamp        modelcodegen.FinalStamp
}

Jump to

Keyboard shortcuts

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