routes

package
v0.0.0-...-8c0b16f Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2023 License: MIT Imports: 9 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)
	Zebedee            *zebedee.Client
	Render             *render.Render
	ArticlesAPI        *articles.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