package
0.0.0-20200208220218-49ae3c4a9dba
Repository: https://github.com/anothrnick/full-text-search-api.git
Documentation: pkg.go.dev

# Functions

NewHandlers creates and returns a new instance of `Handlers` with the datastore.
OpenCORSMiddleware controls the cross origin policies.
SetRoutes sets all of the appropriate routes to handlers for the application.

# Structs

Handlers contains all handler functions.
ProjectIndex represents a searchable record, `Data` and `Meta` can be anything, so Unmarshal the raw data.

# Interfaces

Database is the required interface to the DB layer from the HTTP handlers.
Handler is an interface to the HTTP handler functions.