server

package module
v0.0.0-...-45667a8 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2021 License: MIT Imports: 3 Imported by: 0

README

goftp-tlsconfig

A fork of goftp/server with support for using a custom tls.Config.

Installation

The library can be installed with

go get github.com/marco/goftp-tlsconfig

Usage

Usage is identical to goftp/server. ServerOpts now supports an additional TLSConfig field, which can be set to nil for an automatic configuration or explicitly set to a *tls.Config value.

Documentation

Overview

Package server is a backwards compatibility shim for this module

The code has been re-organised to split out the drivers from the server functionality.

New code should

import "github.com/marco/goftp-tlsconfig/core"

And if the drivers are required use

import "github.com/marco/goftp-tlsconfig/driver/file"
import "github.com/marco/goftp-tlsconfig/driver/minio"

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrServerClosed = core.ErrServerClosed
	NewServer       = core.NewServer
	NewSimplePerm   = core.NewSimplePerm
	Version         = core.Version
)

Backwards compatible functions and variables for the server code.

New code should import github.com/marco/goftp-tlsconfig/core

View Source
var NewMinioDriverFactory = minio.NewDriverFactory

Backwards compatible functions for the minio driver code.

New code should import github.com/marco/goftp-tlsconfig/driver/minio

Functions

This section is empty.

Types

type Auth

type Auth = core.Auth

Backwards compatible types for the server code.

New code should import github.com/marco/goftp-tlsconfig/core

type Command

type Command = core.Command

Backwards compatible types for the server code.

New code should import github.com/marco/goftp-tlsconfig/core

type Conn

type Conn = core.Conn

Backwards compatible types for the server code.

New code should import github.com/marco/goftp-tlsconfig/core

type DataSocket

type DataSocket = core.DataSocket

Backwards compatible types for the server code.

New code should import github.com/marco/goftp-tlsconfig/core

type DiscardLogger

type DiscardLogger = core.DiscardLogger

Backwards compatible types for the server code.

New code should import github.com/marco/goftp-tlsconfig/core

type Driver

type Driver = core.Driver

Backwards compatible types for the server code.

New code should import github.com/marco/goftp-tlsconfig/core

type DriverFactory

type DriverFactory = core.DriverFactory

Backwards compatible types for the server code.

New code should import github.com/marco/goftp-tlsconfig/core

type FileDriver

type FileDriver = file.Driver

Backwards compatible types for the file driver code.

New code should import github.com/marco/goftp-tlsconfig/driver/file

type FileDriverFactory

type FileDriverFactory = file.DriverFactory

Backwards compatible types for the file driver code.

New code should import github.com/marco/goftp-tlsconfig/driver/file

type FileInfo

type FileInfo = core.FileInfo

Backwards compatible types for the server code.

New code should import github.com/marco/goftp-tlsconfig/core

type Logger

type Logger = core.Logger

Backwards compatible types for the server code.

New code should import github.com/marco/goftp-tlsconfig/core

type MinioDriver

type MinioDriver = minio.Driver

Backwards compatible types for the minio driver code.

New code should import github.com/marco/goftp-tlsconfig/driver/minio

type MinioDriverFactory

type MinioDriverFactory = minio.DriverFactory

Backwards compatible types for the minio driver code.

New code should import github.com/marco/goftp-tlsconfig/driver/minio

type MultipleDriver

type MultipleDriver = core.MultipleDriver

Backwards compatible types for the server code.

New code should import github.com/marco/goftp-tlsconfig/core

type MultipleDriverFactory

type MultipleDriverFactory = core.MultipleDriverFactory

Backwards compatible types for the server code.

New code should import github.com/marco/goftp-tlsconfig/core

type Notifier

type Notifier = core.Notifier

Backwards compatible types for the server code.

New code should import github.com/marco/goftp-tlsconfig/core

type NullNotifier

type NullNotifier = core.NullNotifier

Backwards compatible types for the server code.

New code should import github.com/marco/goftp-tlsconfig/core

type Perm

type Perm = core.Perm

Backwards compatible types for the server code.

New code should import github.com/marco/goftp-tlsconfig/core

type Server

type Server = core.Server

Backwards compatible types for the server code.

New code should import github.com/marco/goftp-tlsconfig/core

type ServerOpts

type ServerOpts = core.ServerOpts

Backwards compatible types for the server code.

New code should import github.com/marco/goftp-tlsconfig/core

type SimpleAuth

type SimpleAuth = core.SimpleAuth

Backwards compatible types for the server code.

New code should import github.com/marco/goftp-tlsconfig/core

type SimplePerm

type SimplePerm = core.SimplePerm

Backwards compatible types for the server code.

New code should import github.com/marco/goftp-tlsconfig/core

type StdLogger

type StdLogger = core.StdLogger

Backwards compatible types for the server code.

New code should import github.com/marco/goftp-tlsconfig/core

Directories

Path Synopsis
driver

Jump to

Keyboard shortcuts

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