Versions in this module Expand all Collapse all v4 v4.36.3 May 3, 2026 v4.36.2 May 3, 2026 Changes in this version + var DefaultPrinter = &ConsolePrinter + var MaxReport = 5 + var SkinnyReport = true + func Debugf(fmt string, args ...any) + func Printf(fmt string, args ...any) + func PrintfIf(prnt bool, fmt string, args ...any) + func Println(lines ...string) + func Warnf(fmt string, args ...any) + type CLI interface + EndCorrection func(err error) + EndProvider func(name string, numCorrections int, err error) + EndProvider2 func(name string, numCorrections int) + PrintCorrection func(n int, c *models.Correction) + PrintReport func(n int, c *models.Correction) + PromptToRun func() bool + StartDNSProvider func(name string, skip bool) + StartDomain func(dc *models.DomainConfig) + StartRegistrar func(name string, skip bool) + type ConsolePrinter struct + Reader *bufio.Reader + Verbose bool + Writer io.Writer + func (c ConsolePrinter) Debugf(format string, args ...any) + func (c ConsolePrinter) EndCorrection(err error) + func (c ConsolePrinter) EndProvider(name string, numCorrections int, err error) + func (c ConsolePrinter) EndProvider2(name string, numCorrections int) + func (c ConsolePrinter) Errorf(format string, args ...any) + func (c ConsolePrinter) PrintCorrection(i int, correction *models.Correction) + func (c ConsolePrinter) PrintReport(i int, correction *models.Correction) + func (c ConsolePrinter) Printf(format string, args ...any) + func (c ConsolePrinter) PrintfIf(prnt bool, format string, args ...any) + func (c ConsolePrinter) Println(lines ...string) + func (c ConsolePrinter) PromptToRun() bool + func (c ConsolePrinter) StartDNSProvider(provider string, skip bool) + func (c ConsolePrinter) StartDomain(dc *models.DomainConfig) + func (c ConsolePrinter) StartRegistrar(provider string, skip bool) + func (c ConsolePrinter) Warnf(format string, args ...any) + type Printer interface + Debugf func(fmt string, args ...any) + Errorf func(fmt string, args ...any) + Printf func(fmt string, args ...any) + PrintfIf func(prnt bool, fmt string, args ...any) + Println func(lines ...string) + Warnf func(fmt string, args ...any) Other modules containing this package github.com/DNSControl/dnscontrol