Help us shape the future of Go! Take the 2026 Go Developer Survey

proxy

package
v0.410.1 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package proxy provides the server-side IPC dispatcher for Remembrances write operations (KB, Events, Code indexing). It bridges the dbproxy infrastructure layer and the rag business-logic layer without creating circular imports.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RemembrancesWriteDispatcher

type RemembrancesWriteDispatcher struct {
	// contains filtered or unexported fields
}

RemembrancesWriteDispatcher implements dbproxy.RemembrancesDispatcher. It routes inbound IPC write requests for KB, Events, and Code indexing to the appropriate methods on the local RemembrancesService.

func NewRemembrancesWriteDispatcher

func NewRemembrancesWriteDispatcher(svc *rag.RemembrancesService) *RemembrancesWriteDispatcher

NewRemembrancesWriteDispatcher creates a dispatcher backed by svc. svc must be the primary instance's RemembrancesService (with RW database access).

func (*RemembrancesWriteDispatcher) DispatchRemembrancesWrite

func (d *RemembrancesWriteDispatcher) DispatchRemembrancesWrite(ctx context.Context, method string, params json.RawMessage) (json.RawMessage, error)

DispatchRemembrancesWrite routes a proxied write request to the appropriate store method.

Jump to

Keyboard shortcuts

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