Versions in this module Expand all Collapse all v1 v1.1.0 Sep 28, 2026 v1.0.0 Sep 22, 2026 Changes in this version + type Config struct + Template string + type Context struct + DML *DML + Differ *Differ + Index *Index + Logger *Logger + MessageBus *MessageBus + Sequencer *Sequencer + Validator *Validator + WriteHooks *WriteHooks + type DML struct + func (d *DML) Delete(tableName string, value interface{}) (string, error) + func (d *DML) Execute(statement string, args ...interface{}) (string, error) + func (d *DML) Insert(tableName string, value interface{}) (string, error) + func (d *DML) Update(tableName string, value interface{}) (string, error) + type Differ struct + func (d *Differ) Diff(from, to any) (*xdiffer.ChangeLog, error) + type Handler struct + func New[I any, O any](config Config) (*Handler[I, O], error) + func (h *Handler[I, O]) CaptureInput(ctx context.Context, value any) (any, error) + func (h *Handler[I, O]) Execute(ctx context.Context, invocation rhandler.Invocation) (any, error) + func (h *Handler[I, O]) InputType() reflect.Type + func (h *Handler[I, O]) OutputType() reflect.Type + func (h *Handler[I, O]) WithInputCapture(capture func(context.Context, *I) (any, error)) *Handler[I, O] + type Index struct + func (i *Index) Build(name string, current any, input any, recordPath string, fieldPairs ...string) (string, error) + func (i *Index) Has(name string, record any) (bool, error) + type Logger struct + func (l *Logger) Debug(message string) string + func (l *Logger) Error(message string) string + func (l *Logger) Info(message string) string + func (l *Logger) Warn(message string) string + type MessageBus struct + func (b *MessageBus) Publish(destination string, value interface{}) (string, error) + func (b *MessageBus) PublishWithSubject(destination string, value interface{}, subject string) (string, error) + type Sequencer struct + func (s *Sequencer) Allocate(tableName string, dest interface{}, selector string) (string, error) + type Validator struct + func (v *Validator) Check(value interface{}) (string, error) + type WriteHooks struct + func (w *WriteHooks) Entity(path string, indexes ...int) (string, error) + func (w *WriteHooks) Link(child, parent any, childField, parentField string) (string, error) + func (w *WriteHooks) Mark(path, field string, indexes ...int) (string, error) + func (w *WriteHooks) Present(path string, indexes ...int) (bool, error) + func (w *WriteHooks) Relation(path, holderName string, indexes ...int) (string, error) + func (w *WriteHooks) Require(value any, field, relation string) (string, error) + func (w *WriteHooks) Value(path string, indexes ...int) (any, error)