handlers

package
v0.0.0-...-bcff8af Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handlers

type Handlers struct {
	// contains filtered or unexported fields
}

func NewHandlers

func NewHandlers(logger *zap.SugaredLogger, index index.IndexInterface) *Handlers

func (*Handlers) Healthcheck

func (h *Handlers) Healthcheck(w http.ResponseWriter, r *http.Request)

func (*Handlers) Search

func (h *Handlers) Search(w http.ResponseWriter, r *http.Request)

type HandlersInterface

type HandlersInterface interface {
	Healthcheck(w http.ResponseWriter, r *http.Request)
	Search(w http.ResponseWriter, r *http.Request)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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