cmd

package
v0.0.0-...-8605621 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2015 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cmd

type Cmd interface {
	Run(args []string) (err error)
}

type Factory

type Factory interface {
	Create(name string) (cmd Cmd, err error)
	SetConfig(config davconf.Config)
}

func NewFactory

func NewFactory() (f Factory)

type GetCmd

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

func (GetCmd) Run

func (cmd GetCmd) Run(args []string) (err error)

type PutCmd

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

func (PutCmd) Run

func (cmd PutCmd) Run(args []string) error

type Runner

type Runner interface {
	SetConfig(newConfig davconf.Config)
	Run(cmdArgs []string) (err error)
}

func NewRunner

func NewRunner(factory Factory) Runner

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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