Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetHashFromPassword ¶
GetHashFromPassword returns the hash based on bcrypt
Types ¶
type Rule ¶
type Rule struct { Category string `json:"category"` // Category to place the rule URL string `json:"url"` // URL of the rule }
Rule for BlueCoat
type User ¶
User for basic auth
func (*User) SetPassword ¶
SetPassword sets the password on the user with bcrypt
Click to show internal directories.
Click to hide internal directories.