Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteUserInfoFile ¶
WriteUserInfoFile write user infos into file
Types ¶
type Claims ¶
type Claims struct {
Role string `json:"role"`
Name string `json:"name"`
Surname string `json:"surname"`
}
Claims struct
type PwdHandler ¶
type PwdHandler struct {
Next httpserver.Handler
Config Config
}
PwdHandler type
func (PwdHandler) ServeHTTP ¶
func (h PwdHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) (int, error)
Click to show internal directories.
Click to hide internal directories.