shell

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2021 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Shell

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

Shell is an interactive shell to manage briefmail domains, mailboxes and addresses.

func NewShell

func NewShell(
	db database.Conn,
	mailboxDao database.MailboxDao,
	mailboxCredentialDao database.MailboxCredentialDao,
	domainDao database.DomainDao,
	addressDao database.AddressDao,
) *Shell

NewShell creates a new shell instance.

func (*Shell) Run

func (s *Shell) Run() error

Run starts the shell read loop.

Jump to

Keyboard shortcuts

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