Files
neosproxy/cache/vo.go

27 lines
361 B
Go

package cache
import (
"sync"
"time"
"github.com/foomo/neosproxy/config"
)
// Cache workspace items
type Cache struct {
invalidationChannel chan time.Time
file string
FileLock sync.RWMutex
config config.Cache
neos config.Neos
broker Broker
}
// Broker to handle content structure changes
type Broker interface {
NotifyOnSitemapChange()
}