flux

package
v0.0.0-...-32c9b99 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: MIT Imports: 17 Imported by: 0

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"`
}

Jump to

Keyboard shortcuts

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