Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckPasswordHash ¶
CheckPasswordHash compare raw password and hash
func HashPassword ¶
HashPassword return a password hashed
Types ¶
type BasicAuth ¶
type BasicAuth struct {
// contains filtered or unexported fields
}
func NewBasicAuth ¶
type Middleware ¶
type Middleware interface {
Apply(w http.ResponseWriter, r *http.Request, rc *Rcontext)
}
Click to show internal directories.
Click to hide internal directories.