providersync

package
v0.28.0-alpha2 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GatewayReloader

type GatewayReloader func(ctx context.Context, revision int64) (bool, error)

GatewayReloader reloads this replica's LLM gateway when its configuration revision advances. It reports whether it reloaded.

type Handler

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

Handler owns replica-local state and is registered on a router without leader election, so each replica independently refreshes its cached provider state.

func New

func New(dispatcher daemonStopper, licenseProvider licenseRefresher, reloadGateway GatewayReloader) *Handler

New creates the handler.

func (*Handler) Reconcile

func (h *Handler) Reconcile(req router.Request, _ router.Response) error

Jump to

Keyboard shortcuts

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