Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HerakleitosHandler ¶
type HerakleitosHandler struct { Index string Created int Elastic elastic.Client PolicyName string Ambassador *ptolemaios.ClientAmbassador }
func CreateNewConfig ¶
func CreateNewConfig(env string) (*HerakleitosHandler, error)
func (*HerakleitosHandler) Add ¶
func (h *HerakleitosHandler) Add(rhemai []Text, wg *sync.WaitGroup) error
func (*HerakleitosHandler) CreateIndexAtStartup ¶
func (h *HerakleitosHandler) CreateIndexAtStartup() error
func (*HerakleitosHandler) DeleteIndexAtStartUp ¶
func (h *HerakleitosHandler) DeleteIndexAtStartUp() error
type Text ¶
type Text struct { Author string `json:"author"` Book string `json:"book"` Type string `json:"type"` Reference string `json:"reference"` PerseusTextLink string `json:"perseusTextLink"` Rhemai []struct { Greek string `json:"greek"` Translations []string `json:"translations"` Section string `json:"section"` } `json:"rhemai"` }
Click to show internal directories.
Click to hide internal directories.