router

package
v1.9.3 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 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 GeneratePluginHandler added in v1.9.1

func GeneratePluginHandler(plugin *types.Plugin, h Handle) http.Handler

GeneratePluginHandler create and return the plugin backend router

func GetPluginHandler added in v1.9.1

func GetPluginHandler(plugin *types.Plugin, h Handle) http.Handler

GetPluginHandler get the plugin backend router, if not exist, will create and cache it

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