routes

package
v0.15.1 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2020 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Overview

Package routes defines the routing for services. It's in a central package so it can be shared among tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Server

func Server(
	ctx context.Context,
	cfg *config.ServerConfig,
	db *database.Database,
	authProvider auth.Provider,
	cacher cache.Cacher,
	certificateSigner keys.KeyManager,
	limiterStore limiter.Store,
) (http.Handler, error)

Server defines routes for the UI server.

Types

This section is empty.

Jump to

Keyboard shortcuts

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