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

Documentation

Index

Constants

View Source
const (
	Author  string = "author"
	Authors string = "authors"
	Book    string = "book"
	Books   string = "books"
	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 {
	Tracer  *aristophanes.ClientTracer
	Elastic aristoteles.Client
	Index   string
}

func CreateNewConfig

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

Jump to

Keyboard shortcuts

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