Documentation ¶
Index ¶
- Variables
- func CollectionAdd(uid string) error
- func CollectionDelete(uid string) error
- func CollectionUpdate(uid string) error
- func ContentUnitAdd(uid string) error
- func ContentUnitDelete(uid string) error
- func ContentUnitUpdate(uid string) error
- func ConvertDocx()
- func FileAdd(uid string) error
- func FileDelete(uid string) error
- func FileUpdate(uid string) error
- func IndexClassifications()
- func IndexName(prefix string, language string) string
- func IndexUnits()
- func Init() time.Time
- func ParseDocx(uid string) (string, error)
- func PersonAdd(uid string) error
- func PersonUpdate(uid string) error
- func PublisherAdd(uid string) error
- func PublisherUpdate(uid string) error
- func Shutdown()
- func SourceAdd(uid string) error
- func SourceUpdate(uid string) error
- func TagAdd(uid string) error
- func TagUpdate(uid string) error
- type Classification
- type ClassificationsManager
- type Collection
- type ContentUnit
- type File
- type TagIndexUOW
Constants ¶
This section is empty.
Variables ¶
View Source
var CLASSIFICATIONS_MANAGER = new(ClassificationsManager)
Functions ¶
func CollectionAdd ¶ added in v0.6.6
func CollectionDelete ¶ added in v0.6.6
func CollectionUpdate ¶ added in v0.6.6
func ContentUnitAdd ¶ added in v0.6.6
func ContentUnitDelete ¶ added in v0.6.6
func ContentUnitUpdate ¶ added in v0.6.6
func ConvertDocx ¶
func ConvertDocx()
func FileDelete ¶ added in v0.6.6
func FileUpdate ¶ added in v0.6.6
func IndexClassifications ¶
func IndexClassifications()
func IndexUnits ¶
func IndexUnits()
func PersonUpdate ¶ added in v0.6.6
func PublisherAdd ¶ added in v0.6.6
func PublisherUpdate ¶ added in v0.6.6
func SourceUpdate ¶ added in v0.6.6
Types ¶
type Classification ¶
type Classification struct { MDB_UID string `json:"mdb_uid"` Name string `json:"name,omitempty"` NameSuggest string `json:"name_suggest,omitempty"` Description string `json:"description,omitempty"` DescriptionSuggest string `json:"description_suggest,omitempty"` Type string `json:"classification_type"` }
type ClassificationsManager ¶
type ClassificationsManager struct { Sources map[int64][]string Tags map[int64][]string Persons map[int64][]string Translations map[int64][]string Transcripts map[int64]map[string][]string }
func (*ClassificationsManager) Load ¶
func (cm *ClassificationsManager) Load() error
type Collection ¶
type ContentUnit ¶
type ContentUnit struct { MDB_UID string `json:"mdb_uid"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` ContentType string `json:"content_type"` CollectionsContentTypes []string `json:"collections_content_types,omitempty"` FilmDate *utils.Date `json:"film_date,omitempty"` Duration uint16 `json:"duration,omitempty"` OriginalLanguage string `json:"original_language,omitempty"` Translations []string `json:"translations,omitempty"` Tags []string `json:"tags,omitempty"` Sources []string `json:"sources,omitempty"` Authors []string `json:"authors,omitempty"` Persons []string `json:"persons,omitempty"` Transcript string `json:"transcript,omitempty"` }
type File ¶
type File struct { MDB_UID string `json:"mdb_uid"` Name string `json:"name"` Size int64 `json:"size"` URL string `json:"url"` Secure int `json:"secure"` FilmDate *utils.Date `json:"film_date"` Duration float64 `json:"duration,omitempty"` Language string `json:"language,omitempty"` MimeType string `json:"mimetype,omitempty"` Type string `json:"type,omitempty"` SubType string `json:"subtype,omitempty"` }
type TagIndexUOW ¶
type TagIndexUOW struct {
Tag *mdbmodels.Tag
}
Click to show internal directories.
Click to hide internal directories.