Factor into server and driver directories #120

Merged
lunny merged 1 commits from ncw/goftp-server:fix-116-dependencies into master 2020-07-07 16:02:40 +00:00

1 Commits

Author SHA1 Message Date
d3d11429c5 Factor into core and driver directories
Some checks failed
continuous-integration/drone/pr Build is failing
The change factors the pure server implementation into the "core"
directory and factors the file driver into "driver/file" and the minio
driver into "driver/minio".

This means that users of this library can import goftp.io/server/core
without having to import the file and minio drivers which may not be
needed.

This also adds a compatibility layer which exports all the types,
functions and variables that were exported at the top level.

This means this change should be 100% backwards compatible.

Fixes #116
2020-07-07 16:29:13 +01:00