Harvey-OS / ninep

Package for implementing clients and servers of the 9P and 9P2000 distributed resource protocols in Go.
Other
39 stars 19 forks source link

filesystem: new API to create FileServer #36

Closed jcrussell closed 6 years ago

jcrussell commented 6 years ago

NewServer with callbacks based on functional options for friendly APIs. Replaces NewUFS. Add .Debug() to return a Debug-enabled version of the FileServer.

Remove -root and -debug flags, use functional options instead.

Most likely will conflict with #32.