예제 #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)
}