apicommon

package module
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2024 License: GPL-3.0 Imports: 9 Imported by: 2

README

valhalla-api-common

Common resources for valhalla APIs

Documentation

Index

Constants

View Source
const API_PATH = "/api/"
View Source
const CONTENT_TYPE_HEADER = "Content-Type"

Variables

ApiMiddlewares is a list of middleware functions that will be applied to all API requests this list can be modified to add or remove middlewares the order of the middlewares is important, it will be applied in the order they are listed

Functions

func Start

func Start(configuration configuration.APIConfiguration, endpoints []apimodels.Endpoint)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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