Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommonArguments ¶
type CommonArguments struct { UserInfo *userInfo Title string }
CommonArguments are common page arguments that must be supplied to every page to populate the <title> and <header> elements.
type Config ¶ added in v0.4.0
type Config struct { Core clientCore Addr string CustomSiteDir string Language string Logger dex.Logger // NoEmbed indicates to serve files from the system disk rather than the // embedded files. Since this is a developer setting, this also implies // reloading of templates on each request. Note that only embedded files // should be used by default since site files from older distributions may // be present on the disk. When NoEmbed is true, this also implies reloading // and execution of html templates on each request. NoEmbed bool HttpProf bool }
type WebServer ¶
type WebServer struct {
// contains filtered or unexported fields
}
WebServer is a single-client http and websocket server enabling a browser interface to the DEX client.
Click to show internal directories.
Click to hide internal directories.