Documentation ¶
Index ¶
- type ApiCacheEntry
- type Cache
- func (m *Cache) ApiDump(country, key string, w io.Writer) error
- func (m *Cache) ApiDumpKeys() io.Reader
- func (m *Cache) ApiPurge(country, key string) error
- func (m *Cache) ApiPurgeAll() error
- func (m *Cache) ApiStats() io.Reader
- func (m *Cache) ApiStatsReset(country string) error
- func (m *Cache) Bootstrap()
- func (m *Cache) Cache(country, key string, payload []byte) error
- func (m *Cache) IsCached(country, key string) (_ bool, e error)
- func (m *Cache) Write(country, key string, w io.Writer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiCacheEntry ¶ added in v1.0.2
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
func (*Cache) ApiDumpKeys ¶ added in v1.0.2
func (*Cache) ApiPurgeAll ¶ added in v1.0.2
func (*Cache) ApiStatsReset ¶ added in v1.0.2
Click to show internal directories.
Click to hide internal directories.