示例#1
0
文件: inmem.go 项目: read-later/bazil
// Get fetches a Chunk. See chunks.Store.Get.
func (c *InMemory) Get(key cas.Key, typ string, level uint8) (*chunks.Chunk, error) {
	return chunkutil.HandleGet(c.get, key, typ, level)
}
示例#2
0
文件: kvchunks.go 项目: jgluck/bazil
func (s *storeInKV) Get(key cas.Key, type_ string, level uint8) (*chunks.Chunk, error) {
	return chunkutil.HandleGet(s.get, key, type_, level)
}