app

package
v0.0.0-...-ae683e3 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Method     string = "method"
	Authors    string = "authors"
	Category   string = "category"
	Categories string = "categories"
	Chapter    string = "chapter"
)

Variables

This section is empty.

Functions

func InitRoutes

func InitRoutes(sokratesHandler *SokratesHandler) *mux.Router

InitRoutes to start up a mux router and return the routes

Types

type SokratesHandler

type SokratesHandler struct {
	Tracer     *aristophanes.ClientTracer
	Elastic    elastic.Client
	Randomizer randomizer.Random
	SearchWord string
	Index      string
}

func CreateNewConfig

func CreateNewConfig(env string) (*SokratesHandler, error)

Jump to

Keyboard shortcuts

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