router

package
v1.0.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2026 License: AGPL-3.0 Imports: 15 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 ThemeAssets)

func SetVideoRouter

func SetVideoRouter(router *gin.Engine)

func SetWebRouter

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

Types

type ThemeAssets

type ThemeAssets struct {
	DefaultBuildFS   embed.FS
	DefaultIndexPage []byte
	ClassicBuildFS   embed.FS
	ClassicIndexPage []byte
}

ThemeAssets holds the embedded frontend assets for both themes.

Jump to

Keyboard shortcuts

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