docs: function GFSuploadServer(mongoose, port, ssloptions, routes, listen, defaultcallback, authcallback) {
    this.port = port;
    this.ssloptions = ssloptions;
    this.routes = routes;
    this.listen = listen;
    this.authcallback = authcallback;
    this.mongoose = mongoose;
    if(defaultcallback) {
      this.defaultcallback = defaultcallback;
    } else {
      this.defaultcallback = function(err, result, type, user) {
  
      }
    }
    this.registerServer(routes);
    return this;
  }