Versions in this module Expand all Collapse all v0 v0.2.0 Sep 10, 2026 Changes in this version type Server + func (s *Server) AddUserHash(user string, ntHash []byte) error v0.1.0 Sep 9, 2026 Changes in this version + type Server struct + func New() *Server + func (s *Server) AddUser(user, password string) + func (s *Server) Close() error + func (s *Server) ListenAndServe(addr string) error + func (s *Server) Serve(ln net.Listener) error + func (s *Server) SetName(name string) + func (s *Server) Share(name string, fsys filesystem.Filesystem, opts ...ShareOption) error + type ShareOption func(*share) + func AllowUsers(users ...string) ShareOption + func ReadOnly() ShareOption + func WriteUsers(users ...string) ShareOption