webui_service

package
v1.4.3 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2026 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CorsMaxAge            = 86400
	ServerShutdownTimeout = 3 * time.Second
)

Configuration constants

View Source
const (
	MinURILength = 2
)

Path validation constants

Variables

View Source
var PublicPath = "public"

Functions

func ReturnPublic

func ReturnPublic() gin.HandlerFunc

Types

type WebuiApp added in v1.3.1

type WebuiApp struct {
	// contains filtered or unexported fields
}

func NewApp added in v1.3.1

func NewApp(cfg *factory.Config) (*WebuiApp, error)

func (*WebuiApp) SetLogEnable added in v1.3.1

func (a *WebuiApp) SetLogEnable(enable bool)

func (*WebuiApp) SetLogLevel added in v1.3.1

func (a *WebuiApp) SetLogLevel(level string)

func (*WebuiApp) SetReportCaller added in v1.3.1

func (a *WebuiApp) SetReportCaller(reportCaller bool)

func (*WebuiApp) Start added in v1.3.1

func (a *WebuiApp) Start(tlsKeyLogPath string)

func (*WebuiApp) Terminate added in v1.3.1

func (a *WebuiApp) Terminate()

Jump to

Keyboard shortcuts

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