ftpserver

package module
v0.0.0-...-8dae99a Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: BSD-3-Clause Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action struct {
	Plugin       string            `json:"plugin"`
	AllowedHosts []string          `json:"allowed_hosts"`
	AllowedPaths map[string]string `json:"allowed_paths"`
}

type FTPApp

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

func (FTPApp) CaddyModule

func (a FTPApp) CaddyModule() caddy.ModuleInfo

func (*FTPApp) Provision

func (a *FTPApp) Provision(ctx *caddy.Context) error

func (FTPApp) Start

func (a FTPApp) Start() error

func (FTPApp) Stop

func (a FTPApp) Stop() error

type FtpxConfig

type FtpxConfig struct {
	AfterFilePut        []Action `json:"after_file_put"`
	AfterCurDirChanged  []Action `json:"after_cur_dir_changed"`
	AfterDirCreated     []Action `json:"after_dir_created"`
	AfterDirDeleted     []Action `json:"after_dir_deleted"`
	AfterFileDeleted    []Action `json:"after_file_deleted"`
	AfterFileDownloaded []Action `json:"after_file_downloaded"`
	AfterUserLogin      []Action `json:"after_user_login"`
	BeforeChangeCurDir  []Action `json:"before_change_cur_dir"`
	BeforeCreateDir     []Action `json:"before_create_dir"`
	BeforeDeleteDir     []Action `json:"before_delete_dir"`
	BeforeDeleteFile    []Action `json:"before_delete_file"`
	BeforeDownloadFile  []Action `json:"before_download_file"`
	BeforeLoginUser     []Action `json:"before_login_user"`
	BeforePutFile       []Action `json:"before_put_file"`
}

Jump to

Keyboard shortcuts

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