Documentation ¶
Index ¶
Constants ¶
View Source
const ( BinaryCodec = "binary" BinaryJsonCodec = "binaryjson" JsonCodec = "json" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type VStoreInfo ¶
type VStoreInfo struct { // Version is the version number of this file. Version int // Type is type of value store. Type string // Codec is the type of codec used for the value store. Codec string }
VStoreInfo contains information about the valuestore.
func Load ¶
func Load(dir, vsType string) (VStoreInfo, error)
func (VStoreInfo) MakeCodec ¶
func (v VStoreInfo) MakeCodec() (indexer.ValueCodec, error)
func (VStoreInfo) Save ¶
func (v VStoreInfo) Save(dir string) error
Click to show internal directories.
Click to hide internal directories.