Documentation
¶
Index ¶
Constants ¶
View Source
const DalgoProviderID = "dalgo2files"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ByDefault ¶
type ByDefault struct {
StoreRecordsAs StoreCollectionRecordsAs
RecordFormat RecordFormat
}
type CollectionDef ¶
type CollectionDef struct {
StoreRecordsAs StoreCollectionRecordsAs
RecordFormat RecordFormat
}
func (CollectionDef) Validate ¶
func (v CollectionDef) Validate() error
type SchemaDefinition ¶
type SchemaDefinition interface {
GetCollectionDef(key *dal.Key) CollectionDef
Validate() error
}
func NewSchemaDefinition ¶
func NewSchemaDefinition(collections map[string]*CollectionDef) SchemaDefinition
type StoreCollectionRecordsAs ¶
type StoreCollectionRecordsAs string
const ( StoreCollectionRecordsInSingleFile StoreCollectionRecordsAs = "single_file" StoreCollectionRecordsIndividualFiles StoreCollectionRecordsAs = "individual_files" )
Click to show internal directories.
Click to hide internal directories.