package
1.10.1
Repository: https://github.com/madhavi2491/dashboard.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
CreateAttachHandler is called from main for /api/sockjs.
CreateHTTPAPIHandler creates a new HTTP handler that handles all requests to the API of the backend.
CreateLocaleHandler loads the localization configuration and constructs a LocaleHandler.
InstallFilters installs defined filter for given web service.
MakeGzipHandler adds support for gzip compression for given handler.
WaitForTerminal is called from apihandler.handleAttach as a goroutine Waits for the SockJS connection to be opened by the client the session to be bound in handleTerminalSession.

# Constants

ConfigTemplate is a template of a config.
ConfigTemplateName is a name of config template.
No description provided by the author
RequestLogString is a template for request log message.
ResponseLogString is a template for response log message.

# Structs

APIHandler is a representation of API handler.
AppConfig is a global configuration of application.
LocaleHandler serves different localized versions of the frontend application based on the Accept-Language header.
Localization is a spec for the localization configuration of dashboard.
TerminalMessage is the messaging protocol between ShellController and TerminalSession.
TerminalResponse is sent by handleExecShell.
TerminalSession implements PtyHandler (using a SockJS connection).
Translation is a single translation definition spec.

# Interfaces

PtyHandler is what remotecommand expects from a pty.

# Type aliases

AppHandler is an application handler.