Documentation ¶
Index ¶
- Variables
- func LdapAuthenticator(options *LdapOptions) (martini.Handler, error)
- type LdapOptions
- type Server
- func (s *Server) ConfigureLDAP(options *LdapOptions) error
- func (s *Server) ExecCommand(req *http.Request) (int, interface{})
- func (s *Server) Ping() []byte
- func (s *Server) PutFile(req *http.Request) (int, string)
- func (s *Server) Serve(l net.Listener) error
- func (s *Server) ServeHTTP(res http.ResponseWriter, req *http.Request)
Constants ¶
This section is empty.
Variables ¶
View Source
var HostExpr = regexp.MustCompile(`^(ldaps?)://([\w-.]+)(:(\d+))?$`)
Functions ¶
func LdapAuthenticator ¶
func LdapAuthenticator(options *LdapOptions) (martini.Handler, error)
Types ¶
type LdapOptions ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) ConfigureLDAP ¶
func (s *Server) ConfigureLDAP(options *LdapOptions) error
Click to show internal directories.
Click to hide internal directories.