Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { // Addr is the host:port the server will listen on Addr string // AllowRawBody allows to upload files using raw body data instead of multipart form data // Eg. This is what is used when uploading files using curl AllowRawBody bool // DefaultAuthPlugin is the name of the default auth plugin to use if the provider does not specify one DefaultAuthPlugin string }
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func NewServer ¶
func NewServer(serverCfg Config, plugins []authPlugin.Plugin) (*Server, error)
NewServer creates a new server instance No providers are registered by default, they must be registered using the RegisterProvider method
func (*Server) ProviderIds ¶
func (*Server) RemoveProvider ¶
Click to show internal directories.
Click to hide internal directories.