routes

package
v1.37.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Setup

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

Setup registers routes for the service

Types

type Clients

type Clients struct {
	HealthCheckHandler func(w http.ResponseWriter, req *http.Request)
	Render             *render.Render
	Filter             *filter.Client
	Dataset            *dataset.Client
	Dimension          *dimension.Client
	Population         *population.Client
	Zebedee            *zebedee.Client
}

Clients - struct containing all the clients for the controller

Jump to

Keyboard shortcuts

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