Documentation ¶
Index ¶
- Variables
- type FTPServer
- func (driver *FTPServer) AuthUser(_ ftpserver.ClientContext, user, pass string) (ftpserver.ClientDriver, error)
- func (driver *FTPServer) ClientConnected(cc ftpserver.ClientContext) (string, error)
- func (driver *FTPServer) ClientDisconnected(cc ftpserver.ClientContext)
- func (driver *FTPServer) GetSettings() (*ftpserver.Settings, error)
- func (driver *FTPServer) GetTLSConfig() (*tls.Config, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNoTLS = errors.New("no TLS supported")
)
Functions ¶
This section is empty.
Types ¶
type FTPServer ¶
type FTPServer struct { Settings *ftpserver.Settings FileSystem afero.Fs // contains filtered or unexported fields }
func (*FTPServer) AuthUser ¶
func (driver *FTPServer) AuthUser(_ ftpserver.ClientContext, user, pass string) (ftpserver.ClientDriver, error)
func (*FTPServer) ClientConnected ¶
func (driver *FTPServer) ClientConnected(cc ftpserver.ClientContext) (string, error)
func (*FTPServer) ClientDisconnected ¶
func (driver *FTPServer) ClientDisconnected(cc ftpserver.ClientContext)
Click to show internal directories.
Click to hide internal directories.