cache

package
v0.0.0-...-570c91f Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AccountByID        *cache.Set[model.Account]
	AccountByPenguinID *cache.Set[model.Account]

	ItemDropSetByStageIDAndRangeID   *cache.Set[[]int]
	ItemDropSetByStageIdAndTimeRange *cache.Set[[]int]

	ShimGlobalDropMatrix *cache.Set[modelv2.DropMatrixQueryResult]
	GlobalDropMatrix     *cache.Set[model.DropMatrixQueryResult]

	ShimTrend *cache.Set[modelv2.TrendQueryResult]

	ShimGlobalPatternMatrix *cache.Set[modelv2.PatternMatrixQueryResult]

	Formula *cache.Singular[json.RawMessage]

	FrontendConfig *cache.Singular[json.RawMessage]

	Items           *cache.Singular[[]*model.Item]
	ItemByArkID     *cache.Set[model.Item]
	ShimItems       *cache.Singular[[]*modelv2.Item]
	ShimItemByArkID *cache.Set[modelv2.Item]
	ItemsMapById    *cache.Singular[map[int]*model.Item]
	ItemsMapByArkID *cache.Singular[map[string]*model.Item]

	RecruitTagMap *cache.Singular[map[string]string]

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

	Activities     *cache.Singular[[]*model.Activity]
	ShimActivities *cache.Singular[[]*modelv2.Activity]

	ShimSiteStats *cache.Set[modelv2.SiteStats]

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

	TimeRanges                  *cache.Set[[]*model.TimeRange]
	TimeRangeByID               *cache.Set[model.TimeRange]
	TimeRangesMap               *cache.Set[map[int]*model.TimeRange]
	MaxAccumulableTimeRanges    *cache.Set[map[int]map[int][]*model.TimeRange]
	AllMaxAccumulableTimeRanges *cache.Set[map[int]map[int][]*model.TimeRange]
	LatestTimeRanges            *cache.Set[map[int]*model.TimeRange]

	Zones           *cache.Singular[[]*model.Zone]
	ZoneByArkID     *cache.Set[model.Zone]
	ShimZones       *cache.Singular[[]*modelv2.Zone]
	ShimZoneByArkID *cache.Set[modelv2.Zone]

	DropPatternElementsByPatternID *cache.Set[[]*model.DropPatternElement]

	LastModifiedTime *cache.Set[time.Time]

	Properties map[string]string

	SetMap             map[string]Flusher
	SingularFlusherMap map[string]Flusher
)

Functions

func Delete

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

func Initialize

func Initialize(propertyRepo *repo.Property)

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