cron

package
v0.0.0-...-a9119a5 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2022 License: Apache-2.0, Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const EndPolyStrategyHashKey = "end_poly_strategy_hash_key"

Variables

View Source
var EndPolyCache = &SafeEndPolyCache{}
View Source
var PolyCounterCache = sync.Map{}

Functions

func RunSync

func RunSync()

Types

type SafeEndPolyCache

type SafeEndPolyCache struct {
	Map map[string]string
	sync.RWMutex
}

func (*SafeEndPolyCache) Get

func (this *SafeEndPolyCache) Get(end string) string

func (*SafeEndPolyCache) SyncEndPolyFromRedis

func (this *SafeEndPolyCache) SyncEndPolyFromRedis() error

Jump to

Keyboard shortcuts

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