routes

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: MIT Imports: 10 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
	ReleaseCalendarAPI *releasecalendar.Client
	SearchAPI          *search.Client
	BabbageAPI         *handlers.BabbageClient
	ZebedeeClient      *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