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)
type HandlersInterface ¶
type HandlersInterface interface {
Healthcheck(w http.ResponseWriter, r *http.Request)
Search(w http.ResponseWriter, r *http.Request)
}
Click to show internal directories.
Click to hide internal directories.