Documentation ¶
Index ¶
Constants ¶
View Source
const ( LANGUAGES_CONTENT_UNITS_SQL = `` /* 212-byte string literal not displayed */ TAGS_CONTENT_UNITS_SQL = `` /* 208-byte string literal not displayed */ SOURCES_CONTENT_UNITS_SQL = `` /* 217-byte string literal not displayed */ PERSONS_CONTENT_UNITS_SQL = `` /* 217-byte string literal not displayed */ RAV_PERSON_UID = "abcdefgh" COLLECTIONS_CONTENT_UNITS_SQL = `` /* 229-byte string literal not displayed */ CONTENT_UNITS_COLLECTIONS_SQL = `` /* 230-byte string literal not displayed */ CONTENT_UNITS_INFO_SQL = `` /* 419-byte string literal not displayed */ COLLECTIONS_INFO_SQL = `` /* 202-byte string literal not displayed */ CONTENT_UNITS_WATCH_DURATION_SQL = `` /* 520-byte string literal not displayed */ )
Variables ¶
This section is empty.
Functions ¶
func ScanCollectionInfo ¶
Types ¶
type CollectionInfo ¶
type ContentUnitInfo ¶
type DataModels ¶
type DataModels struct { LanguagesContentUnitsFilter *MDBFilterModel TagsContentUnitsFilter *MDBFilterModel SourcesContentUnitsFilter *MDBFilterModel PersonsContentUnitsFilter *MDBFilterModel CollectionsContentUnitsFilter *MDBFilterModel ContentUnitsCollectionsFilter *MDBFilterModel ContentUnitsInfo *MDBDataModel CollectionsInfo *MDBDataModel // contains filtered or unexported fields }
func MakeDataModels ¶
func MakeDataModels(db *sql.DB) *DataModels
func (*DataModels) Refresh ¶
func (dataModels *DataModels) Refresh() error
type MDBDataModel ¶
type MDBDataModel struct { Datas map[string]interface{} // contains filtered or unexported fields }
func MakeMDBDataModel ¶
func (*MDBDataModel) Data ¶
func (model *MDBDataModel) Data(key string) interface{}
func (*MDBDataModel) Interval ¶
func (model *MDBDataModel) Interval() time.Duration
func (*MDBDataModel) Keys ¶
func (model *MDBDataModel) Keys() []string
func (*MDBDataModel) Name ¶
func (model *MDBDataModel) Name() string
func (*MDBDataModel) Refresh ¶
func (model *MDBDataModel) Refresh() error
type MDBFilterModel ¶
--- MDB Filter Model --- //
func MakeMDBFilterModel ¶
func (*MDBFilterModel) FilterValues ¶
func (model *MDBFilterModel) FilterValues(keys []string) []string
func (*MDBFilterModel) Interval ¶
func (model *MDBFilterModel) Interval() time.Duration
func (*MDBFilterModel) Name ¶
func (model *MDBFilterModel) Name() string
func (*MDBFilterModel) Refresh ¶
func (model *MDBFilterModel) Refresh() error
type RefreshModel ¶
Click to show internal directories.
Click to hide internal directories.