text

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: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AuthorReq    string = "author"
	BookReq      string = "book"
	ReferenceReq string = "reference"
	SectionReq   string = "section"
	RootWord     string = "rootword"
	Options      string = "texts/options"
	Id           string = "_id"
)

Variables

This section is empty.

Functions

func InitRoutes

func InitRoutes(herodotosHandler *HerodotosHandler) *mux.Router

InitRoutes to start up a mux router and return the routes

Types

type HerodotosHandler

type HerodotosHandler struct {
	Aggregator *aristarchos.ClientAggregator
	Elastic    aristoteles.Client
	Index      string
	Streamer   pb.TraceService_ChorusClient
	Cancel     context.CancelFunc
	Cache      archytas.Client
}

func CreateNewConfig

func CreateNewConfig(ctx context.Context) (*HerodotosHandler, error)

Jump to

Keyboard shortcuts

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