server

package module
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2023 License: Apache-2.0 Imports: 13 Imported by: 1

README

go-ftpserver: An FTP based Fuse implementation written in Go

Unit tests Go Reference Go version

Install

go get -u github.com/datawire/go-ftpserver

Architecture

This is an FTP server build on [github.com/fclairamb/ftpserverlib]https://github.com/fclairamb/ftpserverlib which exposes a file system where all symlinks have been resolved

Documentation

Overview

Package server contains an FTP server based on github.com/fclairamb/ftpserverlib

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Logger

func Logger(ctx context.Context) ftplog.Logger

Logger creates a github.com/fclairamb/go-log Logger that sends its output to a dlog Logger

func Start

func Start(ctx context.Context, publicHost string, basePath string, portAnnounceCh chan<- uint16) error

func StartOnPort added in v0.1.3

func StartOnPort(ctx context.Context, publicHost string, basePath string, port uint16) error

func SymLinkResolvingFs

func SymLinkResolvingFs(fs afero.Fs) afero.Fs

SymLinkResolvingFs returns an afero file system that resolves all symlinks so that they become invisible.

Types

This section is empty.

Jump to

Keyboard shortcuts

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