Documentation ¶
Index ¶
- func ChangePassword(w http.ResponseWriter, req *http.Request)
- func ModifyPassword(ls *auth.Config, name, passwd, newPassword string) error
- func NewLDAPServer() *auth.Config
- func ServeAssets(w http.ResponseWriter, req *http.Request)
- func ServeIndex(w http.ResponseWriter, req *http.Request)
- type RegexpHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChangePassword ¶
func ChangePassword(w http.ResponseWriter, req *http.Request)
ChangePassword : Serves index page on POST request - executes the change
func NewLDAPServer ¶
func ServeAssets ¶
func ServeAssets(w http.ResponseWriter, req *http.Request)
ServeAssets : Serves the static assets
func ServeIndex ¶
func ServeIndex(w http.ResponseWriter, req *http.Request)
ServeIndex : Serves index page on GET request
Types ¶
type RegexpHandler ¶
type RegexpHandler struct {
// contains filtered or unexported fields
}
RegexpHandler is used for http handler to bind using regular expressions
func (*RegexpHandler) HandleFunc ¶
func (h *RegexpHandler) HandleFunc(r string, v string, handler func(http.ResponseWriter, *http.Request))
HandleFunc binds http handler function on RegexpHandler
func (*RegexpHandler) ServeHTTP ¶
func (h *RegexpHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.