commands

package
v0.0.0-...-20da8eb Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2019 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command interface {
	Run(session ssh.Session, username string) error
}

func Find

func Find(cmd, reposPath string) (Command, error)

type Init

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

func NewInit

func NewInit(reposPath, repoName string) *Init

func (*Init) Run

func (i *Init) Run(session ssh.Session, username string) error

type Serve

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

func NewServe

func NewServe(reposPath, repoName string) *Serve

func (*Serve) Run

func (s *Serve) Run(session ssh.Session, username string) error

Jump to

Keyboard shortcuts

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