Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Themes embed.FS
Functions ¶
Types ¶
type RenderOptions ¶
type RenderOptions struct { DisplayName string ShowDetails bool InstanceStates []RenderOptionsInstanceState SessionDuration time.Duration RefreshFrequency time.Duration Theme string CustomThemes fs.FS // If custom theme is loaded through os.DirFS, nothing prevents you // from escaping the prefix with relative path such as .. // The `AllowedCustomThemes` are the themes that were scanned during initilization AllowedCustomThemes map[string]bool Version string }
type TemplateValues ¶
type TemplateValues struct { DisplayName string InstanceStates []RenderOptionsInstanceState SessionDuration string RefreshFrequency string Version string }
Click to show internal directories.
Click to hide internal directories.