Documentation ¶
Index ¶
- type Cache
- type CachedInstance
- type HashMapCache
- func (c *HashMapCache) Get(path []byte, host []byte) (string, io.Reader, int, bool)
- func (c *HashMapCache) Index() (int64, error)
- func (c *HashMapCache) Iter() <-chan KeyValue
- func (c *HashMapCache) Source() source.Source
- func (c *HashMapCache) Store(path []byte, host []byte, instance *commonInstance)
- type KeyValue
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CachedInstance ¶
type HashMapCache ¶ added in v0.5.0
type HashMapCache struct {
// contains filtered or unexported fields
}
func NewHashMapCache ¶ added in v0.5.0
func NewHashMapCache(source source.Source, hosts bool) (*HashMapCache, error)
func (*HashMapCache) Index ¶ added in v0.5.0
func (c *HashMapCache) Index() (int64, error)
func (*HashMapCache) Iter ¶ added in v0.5.0
func (c *HashMapCache) Iter() <-chan KeyValue
func (*HashMapCache) Source ¶ added in v0.5.0
func (c *HashMapCache) Source() source.Source
func (*HashMapCache) Store ¶ added in v0.5.0
func (c *HashMapCache) Store(path []byte, host []byte, instance *commonInstance)
Click to show internal directories.
Click to hide internal directories.