routes

package
v1.42.0 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 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)
	Render             *render.Render
	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