// AvailableCacheEvents returns the list of available cache events.
AvailableCacheEvents returns the list of available cache events.
// AvailableCacheEvents returns the list of available cache events .
func AvailableCacheEvents() []string {
	cevs := cacheEvents()
	events := make([]string, 0, len(cevs))
	for evn, ev := range cevs {
		if !IsAvailable(ev) {
			continue
		}
		events = append(events, evn)
	}
	sort.Strings(events)
	return events
}
func AvailableCacheEvents ( ) [ ] string { cevs := cacheEvents ( ) events := make ( [ ] string , 0 , len ( cevs ) ) for evn , ev := range cevs { if ! IsAvailable ( ev ) { continue } events = append ( events , evn ) } sort . Strings ( events ) return events }
AvailableCacheEvents returns the list of available cache events.
AvailableCacheEvents returns the list of available cache events .