invalidation

package
v0.32.3 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package invalidation publishes the cache-invalidation events that keep the in-memory read models of every admin replica coherent after a write.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GatewayData

func GatewayData(
	ctx context.Context,
	publisher cache.EventPublisher,
	logger *slog.Logger,
	gatewayID ids.GatewayID,
)

GatewayData asks every replica to drop the data it caches for gatewayID.

func Registry

func Registry(
	ctx context.Context,
	publisher cache.EventPublisher,
	logger *slog.Logger,
	gatewayID ids.GatewayID,
	registryID ids.RegistryID,
)

Registry asks every replica to drop the data it caches for one registry entry.

Types

This section is empty.

Jump to

Keyboard shortcuts

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