Versions in this module Expand all Collapse all v3 v3.46.0 Jun 16, 2025 Changes in this version + 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 struct + func NewMainDriver() (*FtpMainDriver, error) + 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 struct + func NewSftpDriver() (*SftpDriver, error) + 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) + func (d *SftpDriver) PublicKeyAuth(conn ssh.ConnMetadata, key ssh.PublicKey) (*ssh.Permissions, error)