router

package
v0.2.0-beta.8 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2026 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetApiRouter

func SetApiRouter(router *gin.Engine)

func SetDashboardRouter

func SetDashboardRouter(router *gin.Engine)

func SetRelayRouter

func SetRelayRouter(router *gin.Engine)

func SetRouter

func SetRouter(router *gin.Engine, assets WebAssets)

func SetTaskOperationRouter

func SetTaskOperationRouter(router *gin.Engine)

SetTaskOperationRouter registers the isolated, read-only durable operation lookup. It has no submission, billing, upstream, distribution or feature-gate middleware.

func SetVideoRouter

func SetVideoRouter(router *gin.Engine)

func SetWebRouter

func SetWebRouter(router *gin.Engine, assets WebAssets)

Types

type WebAssets

type WebAssets struct {
	BuildFS   embed.FS
	IndexPage []byte
}

WebAssets holds the embedded dashboard frontend assets.

Jump to

Keyboard shortcuts

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