Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupHandlers ¶
func SetupHandlers(g *gin.Engine, cache persistence.CacheStore, ttls cachettl.Config, authzClient *authz.Client, assetsClient *assets.Client, editSessions *editsession.Store, eventPublisher *events.Publisher)
func SyncSystemTitle ¶ added in v0.29.0
func SyncSystemTitle(store persistence.CacheStore) events.SystemUpdateHandler
SyncSystemTitle is the handler for gamesystems.events.system.updated: it sets the stored title on every volume that references the system and invalidates those volumes' cached reads. Idempotent - UpdateVolumeSystemTitleBySystem is a no-op when the title is unchanged, so a redelivered event makes no further change. store may be nil (the standalone cmd/consumer runs without a cache), in which case invalidation is skipped.
Types ¶
This section is empty.
Source Files
¶
- cache_invalidate.go
- contributions.go
- entity_version_patch.go
- handlers.go
- license_volumes.go
- licenses.go
- list_meta.go
- persons.go
- publisher_volumes.go
- publishers.go
- reviews.go
- staged_assets.go
- stats.go
- status.go
- studio_volumes.go
- studios.go
- submission_cap.go
- systems.go
- vocabularies.go
- volume_system_titles.go
- volumes.go
- volumes_create.go
- volumes_finalize.go
- volumes_patch.go
- volumes_tags.go
- volumes_versions.go
Click to show internal directories.
Click to hide internal directories.