Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheEntryStore ¶ added in v0.3.0
type CacheEntryStore interface {
EntryStore
configcat.ConfigCache
}
func NewInMemoryStorage ¶
func NewInMemoryStorage() CacheEntryStore
type EntryStore ¶
type EntryStore interface {
LoadEntry() *EntryWithEtag
ComposeBytes() []byte
StoreEntry(data []byte, fetchTime time.Time, eTag string)
}
func NewEntryStore ¶
func NewEntryStore() EntryStore
type EntryWithEtag ¶
type Notifier ¶
type Notifier interface {
Close()
Closed() <-chan struct{}
Notify()
Modified() <-chan struct{}
}
func NewNotifier ¶
func NewNotifier() Notifier
type NotifyingStore ¶ added in v0.3.0
type NotifyingStore interface {
CacheEntryStore
Notifier
}
Click to show internal directories.
Click to hide internal directories.