plugin_server

package
v0.0.23 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	EvRpcPort        string
	Debug            bool
	TmpFileStorePath string
	PluginAlias      string
	DbType           string
)
View Source
var PluginJson *build.PluginJsonData

Functions

func GetTmpFileStorePath added in v0.0.7

func GetTmpFileStorePath() string

func Serve

func Serve(opts ServeOpts)

Types

type Assets added in v0.0.11

type Assets struct {
	PluginJsonBytes []byte
	FrontendFiles   embed.FS
	Icon            embed.FS
}

type ServeOpts

type ServeOpts struct {
	RegisterRoutes func(engine *web_engine.WebEngine)

	Assets *Assets

	LiveHandler backend.LiveHandler

	GRPCSettings backend.GRPCSettings

	Migration *build.Gormigrate

	ReadyCallBack func(ctx context.Context)

	ExitCallback func()
}

Jump to

Keyboard shortcuts

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