Documentation
¶
Index ¶
- func SetApiRouter(router *gin.Engine)
- func SetDashboardRouter(router *gin.Engine)
- func SetPluginRouter(outer *gin.Engine) gin.HandlerFunc
- func SetRelayRouter(router *gin.Engine)
- func SetRouter(router *gin.Engine, assets WebAssets)
- func SetTaskPluginProtocolRouter(router *gin.Engine)
- func SetTaskRouter(router *gin.Engine)
- func SetVideoRouter(router *gin.Engine)
- func SetWebRouter(router *gin.Engine, assets WebAssets, pluginDispatcher gin.HandlerFunc)
- type WebAssets
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetApiRouter ¶
func SetDashboardRouter ¶
func SetPluginRouter ¶
func SetPluginRouter(outer *gin.Engine) gin.HandlerFunc
func SetRelayRouter ¶
func SetTaskRouter ¶
SetTaskRouter registers the generic task-plugin API surface.
Gin requires every route sharing a path position to use the same wildcard name, so the first segment is uniformly ":key"; it carries the plugin key on submit routes and the task id on read routes.
func SetVideoRouter ¶
func SetWebRouter ¶
func SetWebRouter(router *gin.Engine, assets WebAssets, pluginDispatcher gin.HandlerFunc)
Types ¶
Click to show internal directories.
Click to hide internal directories.