Versions in this module Expand all Collapse all v0 v0.2.1 Oct 13, 2017 v0.2.0 Sep 23, 2017 Changes in this version + func HandleConn(conn net.Conn, config *ssh.ServerConfig, pathMapper *PathMapper) + func NewSimpleSftpServer(homePath, listenAddress string, listenPort int, username, password string, ...) (net.Listener, error) + func VfsHandler(mapper *PathMapper) sftp.Handlers + type FileTree struct + func NewFileTree(basePath string) *FileTree + func (tree *FileTree) SubIntegrate(path string) bool + type PathMapper struct + func NewPathMapper(files []string, basePath string) *PathMapper + func (mapper *PathMapper) List(key string) ([]string, bool) + func (mapper *PathMapper) PathTo(reference string) (string, error) + func (mapper *PathMapper) Stat(reference string) (os.FileInfo, error) + type SftpFsContext struct + Sftpc *sftp.Client + func NewSftpFsContext(user, password, host string) (*SftpFsContext, error) + func (ctx *SftpFsContext) Disconnect() error