templates

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

templ: version: v0.2.707

templ: version: v0.2.707

templ: version: v0.2.707

templ: version: v0.2.707

templ: version: v0.2.707

templ: version: v0.2.707

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChartWindow

func ChartWindow(cfg WindowConfig) templ.Component
func Footer(cfg StatsConfig) templ.Component

func GarbageCollector

func GarbageCollector(cfg StatsConfig) templ.Component

func InfoField

func InfoField(cfg StatsConfig) templ.Component

func Splash

func Splash() templ.Component

func StatsPage

func StatsPage(cfg StatsConfig) templ.Component

Types

type StatsConfig

type StatsConfig struct {
	Title       string
	ChartBuffer int
	Interval    int64
	IsGCOn      bool
	GOOS        string
	GOARCH      string
	GOVERSION   string
	NumCPU      int
	Version     string
}

type WindowConfig

type WindowConfig struct {
	Title    string
	Subtitle string
	ChartID  string
	Fields   []string
}

Jump to

Keyboard shortcuts

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