cmd

package
v0.0.0-...-2bbc632 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandRouter

type CommandRouter struct {
	// contains filtered or unexported fields
}

CommandRouter is the main commands router.

func NewCommandRouter

func NewCommandRouter(
	log errorLogger, extractor extractor, formatter formatter,
) CommandRouter

NewCommandRouter creates a new CommandRouter.

func (*CommandRouter) Run

func (r *CommandRouter) Run()

Run the router.

type Config

type Config struct {
	Sources  []string
	Contacts []string
}

Config is the cmd configuration struct.

func NewConfig

func NewConfig() *Config

NewConfig returns the configuration object.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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