func New(name, localroot string) (*Server, error) {
	abs, err := filepath.Abs(localroot)
	if err != nil {
		return nil, err
	}
	return &Server{
		name: name,
		root: abs,
	}, nil
}
// New creates a new RH server for the local directory localroot, named name.
New creates a new RH server for the local directory localroot, named name.
// New creates a new RH server for the local directory localroot named name .
func New(name, localroot string) (*Server, error) {
	abs, err := filepath.Abs(localroot)
	if err != nil {
		return nil, err
	}
	return &Server{
		name: name,
		root: abs,
	}, nil
}
func New ( name , localroot string ) ( * Server , error ) { abs , err := filepath . Abs ( localroot ) if err != nil { return nil , err } return & Server { name : name , root : abs , } , nil }
New creates a new RH server for the local directory localroot, named name.
New creates a new RH server for the local directory localroot named name .