routes

package
v1.38.0 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(ctx context.Context, r *mux.Router, cfg *config.Config, clients *Clients)

Init initialises routes for the service

Types

type Clients added in v1.18.0

type Clients struct {
	Filter             *filter.Client
	Dataset            *dataset.Client
	Hierarchy          *hierarchy.Client
	HealthcheckHandler func(w http.ResponseWriter, req *http.Request)
	Renderer           *renderer.Renderer
	Search             *search.Client
	Zebedee            *zebedee.Client
}

Clients represents a list of clients

Jump to

Keyboard shortcuts

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