Documentation ¶
Overview ¶
Package templates contains all text-ui templates for the command-line interface.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var GASpamControlLogoAnsiShadow = `` /* 1862-byte string literal not displayed */
GASpamControlLogoAnsiShadow contains the ASCII-art logo of ga-spam-control ("ANSI Shadow")
var GASpamControlLogoBloody = `` /* 2292-byte string literal not displayed */
GASpamControlLogoBloody contains the ASCII-art logo of ga-spam-control ("bloody")
var GASpamControlLogoGraceful = `` /* 317-byte string literal not displayed */
GASpamControlLogoGraceful contains the ASCII-art logo of ga-spam-control ("graceful")
var GASpamControlLogoSmallKeyboard = `` /* 353-byte string literal not displayed */
GASpamControlLogoSmallKeyboard contains the ASCII-art logo of ga-spam-control ("small keyboard")
var PrettyAnalysis = `{{if .Domains -}}
{{range .Domains -}}
{{.DomainName}}
{{end -}}
{{else -}}
No new referrer spam domains detected
{{end}}`
PrettyAnalysis contains the detailed template for displaying the spam analysis results for a given analytics account.
var PrettyStatus = `` /* 237-byte string literal not displayed */
PrettyStatus contains the detailed template for displaying the status of multiple analytics accounts.
var PrettyUpdate = `` /* 265-byte string literal not displayed */
PrettyUpdate contains the detailed template for displaying domain list update results.
var QuietAnalysis = `{{if .Domains -}}
{{range .Domains -}}
{{.DomainName}}
{{end -}}
{{end}}`
QuietAnalysis contains the minimal template for displaying the spam analysis results for a given analytics account.
var QuietStatus = `` /* 162-byte string literal not displayed */
QuietStatus contains a minimal template for displaying the status of multiple analytics accounts.
var QuietUpdate = `{{range .Domains -}}
{{printf " %s %s" .UpdateType .Domainname}}
{{end}}`
QuietUpdate contains the minimal template for displaying domain list update results.
Functions ¶
This section is empty.
Types ¶
This section is empty.