Help us shape the future of Go! Take the 2026 Go Developer Survey

template

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2021 License: Apache-2.0 Imports: 0 Imported by: 1

Documentation

Overview

Package template TODO: This template is too sample. need to improve it. Not sure golang native template can satify us.

Index

Constants

View Source
const Templ = `` /* 2438-byte string literal not displayed */

Templ is content of template

Variables

View Source
var Broadwell = map[string]interface{}{
	"os_cacheways":    1,
	"infra_cacheways": 19,
	"max_shared":      10,
	"guarantee":       10,
	"besteffort":      7,
	"shared":          2}

Broadwell options

View Source
var Options = map[string]interface{}{
	"address":             "localhost",
	"debugport":           8081,
	"tlsport":             8443,
	"clientauth":          "challenge",
	"logfile":             "/var/log/rmd.log",
	"dbbackend":           "bolt",
	"dbtransport":         "/var/run/rmd.db",
	"logtostdout":         true,
	"os_cacheways":        1,
	"infra_cacheways":     19,
	"max_shared":          10,
	"guarantee":           10,
	"besteffort":          7,
	"shared":              2,
	"shrink":              false,
	"policypath":          "/etc/rmd/policy.toml",
	"sysresctrl":          "/sys/fs/resctrl",
	"plugins":             "",
	"dbValidatorInterval": 30,
	"mbaMode":             "percentage",
}

Options are options for temlate will be replaced

View Source
var Skylake = map[string]interface{}{
	"os_cacheways":    1,
	"infra_cacheways": 10,
	"max_shared":      10,
	"guarantee":       6,
	"besteffort":      3,
	"shared":          1}

Skylake options

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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