cache

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ItemDropSetByStageIDAndRangeID   *cache.Set[[]int]
	ItemDropSetByStageIdAndTimeRange *cache.Set[[]int]

	CliGameDataSeed *cache.Singular[types.CliGameDataSeedResponse]
	ItemByArkID     *cache.Set[models.Item]
	ShimItems       *cache.Singular[[]*shims.Item]
	ShimItemByArkID *cache.Set[shims.Item]
	ItemsMapById    *cache.Singular[map[int]*models.Item]
	ItemsMapByArkID *cache.Singular[map[string]*models.Item]

	Notices *cache.Singular[[]*models.Notice]

	Activities     *cache.Singular[[]*models.Activity]
	ShimActivities *cache.Singular[[]*shims.Activity]

	Stages           *cache.Singular[[]*models.Stage]
	StageByArkID     *cache.Set[models.Stage]
	ShimStages       *cache.Set[[]*shims.Stage]
	ShimStageByArkID *cache.Set[shims.Stage]
	StagesMapByID    *cache.Singular[map[int]*models.Stage]
	StagesMapByArkID *cache.Singular[map[string]*models.Stage]

	TimeRanges               *cache.Set[[]*models.TimeRange]
	TimeRangeByID            *cache.Set[models.TimeRange]
	TimeRangesMap            *cache.Set[map[int]*models.TimeRange]
	MaxAccumulableTimeRanges *cache.Set[map[int]map[int][]*models.TimeRange]

	Zones           *cache.Singular[[]*models.Zone]
	ZoneByArkID     *cache.Set[models.Zone]
	ShimZones       *cache.Singular[[]*shims.Zone]
	ShimZoneByArkID *cache.Set[shims.Zone]

	Properties map[string]string

	CacheSetMap             map[string]Flusher
	CacheSingularFlusherMap map[string]Flusher
)

Functions

func Delete

func Delete(name string, key null.String) error

func Initialize

func Initialize()

Types

type Flusher

type Flusher func() error

Jump to

Keyboard shortcuts

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