es

package
v0.6.4-ga.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 1, 2018 License: MIT Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CLASSIFICATIONS_MANAGER = new(ClassificationsManager)

Functions

func ConvertDocx

func ConvertDocx()

func IndexClassifications

func IndexClassifications()

func IndexName

func IndexName(prefix string, language string) string

func IndexUnits

func IndexUnits()

func Init

func Init() time.Time

func ParseDocx

func ParseDocx(uid string) (string, error)

func Shutdown

func Shutdown()

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 Collection struct {
	MDB_UID      string            `json:"mdb_uid"`
	ContentType  string            `json:"content_type"`
	FilmDate     *utils.Date       `json:"film_date"`
	Names        map[string]string `json:"names"`
	Descriptions map[string]string `json:"descriptions"`
	ContentUnits []*ContentUnit    `json:"content_units"`
}

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL