routes

package
v0.0.0-...-a6da567 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2022 License: MIT Imports: 8 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)
	Datawrapper        *datawrapper.Client
	APIProxy           *httputil.ReverseProxy
	UIProxy            *httputil.ReverseProxy
	PermissionsChecker *permissions.Checker
}

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