Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DBMetaInfoPrototype schema.TypedPrototype IndexMetaInfoPrototype schema.TypedPrototype CollectionMetaInfoPrototype schema.TypedPrototype )
Functions ¶
func BuildDBMetaInfoNode ¶
func BuildIndexMetaInfoNode ¶
Types ¶
type CollectionMetaInfo ¶
func UnwrapCollectionMetaInfo ¶
func UnwrapCollectionMetaInfo(node ipld.Node) (*CollectionMetaInfo, error)
func (CollectionMetaInfo) ToNode ¶
func (cmi CollectionMetaInfo) ToNode() (n ipld.Node, err error)
type DBMetaInfo ¶
func UnwrapDBMetaInfo ¶
func UnwrapDBMetaInfo(node ipld.Node) (*DBMetaInfo, error)
func (DBMetaInfo) ToNode ¶
func (dmi DBMetaInfo) ToNode() (n ipld.Node, err error)
type IndexMetaInfo ¶
type IndexMetaInfo struct {
Version int64
}
func UnwrapIndexMetaInfo ¶
func UnwrapIndexMetaInfo(node ipld.Node) (*IndexMetaInfo, error)
func (IndexMetaInfo) ToNode ¶
func (imi IndexMetaInfo) ToNode() (n ipld.Node, err error)
Click to show internal directories.
Click to hide internal directories.