apps

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2025 License: MIT Imports: 24 Imported by: 18

Documentation

Index

Constants

View Source
const IconName = "icon.png"
View Source
const ManifestName = "manifest.json"
View Source
const RootPath = "apps"

Variables

This section is empty.

Functions

func Proxy

func Proxy(ctx *gin.Context)

func Register added in v0.4.3

func Register(a *App)

func Shutdown

func Shutdown() (err error)

func Startup

func Startup() error

func Unregister added in v0.4.3

func Unregister(id string)

Types

type App

type App struct {
	app.App

	//资源
	AssetsFS store.FS
	PagesFS  store.FS
	TablesFS store.FS
	// contains filtered or unexported fields
}

func (*App) Close

func (a *App) Close() error

func (*App) Open

func (a *App) Open() (err error)

func (*App) Opened added in v0.4.4

func (a *App) Opened() bool

func (*App) ServeApi

func (a *App) ServeApi(ctx *gin.Context) bool

Jump to

Keyboard shortcuts

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