{"modulePath":"github.com/KamelTechnology/KamelBox","version":"v0.0.0-20240108161440-612c5e9e1769","isLatest":true,"isStandardLibrary":false,"goos":"linux","goarch":"amd64","docs":"# package plg_handler_console\n\n\\* This plugin provide a full fledge terminal application. The code was \\* adapted from [https://github.com/freman/goterm](https://github.com/freman/goterm)\n\n## Variables\n\n```go\nvar AppStyle []byte\n```\n\n```go\nvar VendorScript []byte // made of xterm.js (https://cdnjs.cloudflare.com/ajax/libs/xterm/3.12.2/xterm.js) and the fit addon(https://cdnjs.cloudflare.com/ajax/libs/xterm/3.12.2/addons/fit/fit.js)\n\n```\n\n```go\nvar VendorStyle []byte\n```\n\n## Functions\n\n```go\nfunc AppScript(pathPrefix string) string\n```\n\n```go\nfunc AuthBasic(credentials func() (string, string), fn http.Handler) http.HandlerFunc\n```\n\n```go\nfunc TTYHandler(pathPrefix string) http.Handler\n```\n\n","path":"github.com/KamelTechnology/KamelBox/server/plugin/plg_handler_console","name":"plg_handler_console","synopsis":"* This plugin provide a full fledge terminal application.","isRedistributable":true}
