routes

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2020 License: MIT Imports: 9 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, hcHandler func(http.ResponseWriter, *http.Request), c *Clients)

Init initialises routes for the service

Types

type Clients added in v1.3.0

type Clients struct {
	Renderer *renderer.Renderer
	Zebedee  *zebedee.Client
	Babbage  *release_calendar.Client
	ImageAPI *image.Client
}

Clients contains all the required Clients for frontend homepage controller

Jump to

Keyboard shortcuts

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