ctrlengine

package
v0.0.0-...-30b4a77 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2016 License: BSD-3-Clause Imports: 50 Imported by: 0

Documentation

Overview

Package ctrlengine implements the command engine for mutectrl.

Index

Constants

This section is empty.

Variables

View Source
var ErrDeliveryFailed = errors.New("ctrlengine: delivery failed")

ErrDeliveryFailed is raised when the message delivery failed due to option --fail-delivery.

View Source
var ErrPassphrasesDiffer = errors.New("ctrlengine: passphrases differ")

ErrPassphrasesDiffer is raised when the supplied passphrases during a DB creation or rekey operation differ.

View Source
var ErrUserIDOwned = errors.New("user ID already owned")

ErrUserIDOwned is raised during UID message creation, if a user ID is already owned by the same user

View Source
var ErrUserIDTaken = errors.New("user ID already taken")

ErrUserIDTaken is raised during UID message creation, if a user ID is already taken by another user.

Functions

This section is empty.

Types

type CtrlEngine

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

CtrlEngine abstracts a mutectrl command engine.

func New

func New() *CtrlEngine

New returns a new CtrlEngine.

func (*CtrlEngine) Close

func (ce *CtrlEngine) Close()

Close the underlying database of the CtrlEngine.

func (*CtrlEngine) Start

func (ce *CtrlEngine) Start(args []string) error

Start starts the CtrlEngine with the given args.

Directories

Path Synopsis
Package mail implements email input messages in Mute.
Package mail implements email input messages in Mute.

Jump to

Keyboard shortcuts

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