subsystem

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 15, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler interface {
	Handle(session.Session)
}

Handler is the designated interface which subsystems should implement

type InMemSFTP

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

InMemSFTP is an in-memory SFTP server allowing shared space between all users. It starts with an empty space. Warning: For illustration purposes only!

func (InMemSFTP) CaddyModule

func (s InMemSFTP) CaddyModule() caddy.ModuleInfo

This method indicates that the type is a Caddy module. The returned ModuleInfo must have both a name and a constructor function. This method must not have any side-effects.

func (InMemSFTP) Handle

func (s InMemSFTP) Handle(sess session.Session)

Handle runs an SFTP request server for the session

func (*InMemSFTP) Provision

func (s *InMemSFTP) Provision(ctx caddy.Context) error

Provision sets up the in-memory SFTP module

Jump to

Keyboard shortcuts

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