routes

package
v0.21.2 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2024 License: AGPL-3.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Setup

func Setup(mux *chi.Mux, ver string, db cache.DB, conf config.Config)

Types

type ErrorResponse

type ErrorResponse struct {
	Message string `json:"message"`
	Value   string `json:"value"`
}

type ResultsResponse added in v0.21.0

type ResultsResponse struct {
	Version  string                `json:"version"`
	Duration int64                 `json:"duration"`
	Results  []result.ResultOutput `json:"results"`
}

Jump to

Keyboard shortcuts

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