Documentation ¶
Index ¶
- type CLI
- type ConsolePrinter
- func (c ConsolePrinter) Debugf(format string, args ...interface{})
- func (c ConsolePrinter) EndCorrection(err error)
- func (c ConsolePrinter) EndProvider(numCorrections int, err error)
- func (c ConsolePrinter) PrintCorrection(i int, correction *models.Correction)
- func (c ConsolePrinter) PromptToRun() bool
- func (c ConsolePrinter) StartDNSProvider(provider string, skip bool)
- func (c ConsolePrinter) StartDomain(domain string)
- func (c ConsolePrinter) StartRegistrar(provider string, skip bool)
- func (c ConsolePrinter) Warnf(format string, args ...interface{})
- type Printer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CLI ¶
type CLI interface { Printer StartDomain(domain string) StartDNSProvider(name string, skip bool) EndProvider(numCorrections int, err error) StartRegistrar(name string, skip bool) PrintCorrection(n int, c *models.Correction) EndCorrection(err error) PromptToRun() bool }
CLI is an abstraction around the CLI.
type ConsolePrinter ¶
type ConsolePrinter struct{}
func (ConsolePrinter) Debugf ¶
func (c ConsolePrinter) Debugf(format string, args ...interface{})
func (ConsolePrinter) EndCorrection ¶
func (c ConsolePrinter) EndCorrection(err error)
func (ConsolePrinter) EndProvider ¶
func (c ConsolePrinter) EndProvider(numCorrections int, err error)
func (ConsolePrinter) PrintCorrection ¶
func (c ConsolePrinter) PrintCorrection(i int, correction *models.Correction)
func (ConsolePrinter) PromptToRun ¶
func (c ConsolePrinter) PromptToRun() bool
func (ConsolePrinter) StartDNSProvider ¶
func (c ConsolePrinter) StartDNSProvider(provider string, skip bool)
func (ConsolePrinter) StartDomain ¶
func (c ConsolePrinter) StartDomain(domain string)
func (ConsolePrinter) StartRegistrar ¶
func (c ConsolePrinter) StartRegistrar(provider string, skip bool)
func (ConsolePrinter) Warnf ¶
func (c ConsolePrinter) Warnf(format string, args ...interface{})
Click to show internal directories.
Click to hide internal directories.