Documentation ¶
Index ¶
- func Cors(r *gin.Engine)
- func Init(e *gin.Engine)
- func InitS3(e *gin.Engine)
- func S3(g *gin.RouterGroup)
- func S3Server(g *gin.RouterGroup)
- func ServeWebDAV(c *gin.Context)
- func WebDAVAuth(c *gin.Context)
- func WebDav(dav *gin.RouterGroup)
- type FtpMainDriver
- func (d *FtpMainDriver) AuthUser(cc ftpserver.ClientContext, user, pass string) (ftpserver.ClientDriver, error)
- func (d *FtpMainDriver) ClientConnected(cc ftpserver.ClientContext) (string, error)
- func (d *FtpMainDriver) ClientDisconnected(cc ftpserver.ClientContext)
- func (d *FtpMainDriver) GetSettings() (*ftpserver.Settings, error)
- func (d *FtpMainDriver) GetTLSConfig() (*tls.Config, error)
- func (d *FtpMainDriver) Stop()
- type SftpDriver
- func (d *SftpDriver) AuthLogCallback(conn ssh.ConnMetadata, method string, err error)
- func (d *SftpDriver) Close()
- func (d *SftpDriver) GetBanner(_ ssh.ConnMetadata) string
- func (d *SftpDriver) GetConfig() *sftpd.Config
- func (d *SftpDriver) GetFileSystem(sc *ssh.ServerConn) (sftpd.FileSystem, error)
- func (d *SftpDriver) NoClientAuth(conn ssh.ConnMetadata) (*ssh.Permissions, error)
- func (d *SftpDriver) PasswordAuth(conn ssh.ConnMetadata, password []byte) (*ssh.Permissions, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func S3 ¶ added in v3.32.0
func S3(g *gin.RouterGroup)
func S3Server ¶ added in v3.33.0
func S3Server(g *gin.RouterGroup)
func ServeWebDAV ¶
func WebDAVAuth ¶
func WebDav ¶
func WebDav(dav *gin.RouterGroup)
Types ¶
type FtpMainDriver ¶ added in v3.41.0
type FtpMainDriver struct {
// contains filtered or unexported fields
}
func NewMainDriver ¶ added in v3.41.0
func NewMainDriver() (*FtpMainDriver, error)
func (*FtpMainDriver) AuthUser ¶ added in v3.41.0
func (d *FtpMainDriver) AuthUser(cc ftpserver.ClientContext, user, pass string) (ftpserver.ClientDriver, error)
func (*FtpMainDriver) ClientConnected ¶ added in v3.41.0
func (d *FtpMainDriver) ClientConnected(cc ftpserver.ClientContext) (string, error)
func (*FtpMainDriver) ClientDisconnected ¶ added in v3.41.0
func (d *FtpMainDriver) ClientDisconnected(cc ftpserver.ClientContext)
func (*FtpMainDriver) GetSettings ¶ added in v3.41.0
func (d *FtpMainDriver) GetSettings() (*ftpserver.Settings, error)
func (*FtpMainDriver) GetTLSConfig ¶ added in v3.41.0
func (d *FtpMainDriver) GetTLSConfig() (*tls.Config, error)
func (*FtpMainDriver) Stop ¶ added in v3.41.0
func (d *FtpMainDriver) Stop()
type SftpDriver ¶ added in v3.41.0
type SftpDriver struct {
// contains filtered or unexported fields
}
func NewSftpDriver ¶ added in v3.41.0
func NewSftpDriver() (*SftpDriver, error)
func (*SftpDriver) AuthLogCallback ¶ added in v3.41.0
func (d *SftpDriver) AuthLogCallback(conn ssh.ConnMetadata, method string, err error)
func (*SftpDriver) Close ¶ added in v3.41.0
func (d *SftpDriver) Close()
func (*SftpDriver) GetBanner ¶ added in v3.41.0
func (d *SftpDriver) GetBanner(_ ssh.ConnMetadata) string
func (*SftpDriver) GetConfig ¶ added in v3.41.0
func (d *SftpDriver) GetConfig() *sftpd.Config
func (*SftpDriver) GetFileSystem ¶ added in v3.41.0
func (d *SftpDriver) GetFileSystem(sc *ssh.ServerConn) (sftpd.FileSystem, error)
func (*SftpDriver) NoClientAuth ¶ added in v3.41.0
func (d *SftpDriver) NoClientAuth(conn ssh.ConnMetadata) (*ssh.Permissions, error)
func (*SftpDriver) PasswordAuth ¶ added in v3.41.0
func (d *SftpDriver) PasswordAuth(conn ssh.ConnMetadata, password []byte) (*ssh.Permissions, error)
Directories ¶
Path | Synopsis |
---|---|
Credits: https://pkg.go.dev/github.com/rclone/rclone@v1.65.2/cmd/serve/s3 Package s3 implements a fake s3 server for alist
|
Credits: https://pkg.go.dev/github.com/rclone/rclone@v1.65.2/cmd/serve/s3 Package s3 implements a fake s3 server for alist |
Package webdav provides a WebDAV server implementation.
|
Package webdav provides a WebDAV server implementation. |
internal/xml
Package xml implements a simple XML 1.0 parser that understands XML name spaces.
|
Package xml implements a simple XML 1.0 parser that understands XML name spaces. |
Click to show internal directories.
Click to hide internal directories.