router

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultPluginResourceKey = "pluginName"

DefaultPluginResourceKey the path parameter key for the plugin resource

Functions

func GenerateHTTPRouter

func GenerateHTTPRouter(plugin *types.Plugin, pathPrefix string, h Handle) http.Handler

GenerateHTTPRouter create and return the plugin backend router

Types

type Handle

Handle the plugin route

Jump to

Keyboard shortcuts

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