Documentation ¶
Index ¶
- func AdminChecker(cookie []byte) bool
- func CreateAdminProfile() []byte
- func CreateProfile(email string) url.Values
- func DecryptProfile(encrypted []byte) []byte
- func EncodeProfile(profile url.Values) string
- func EncryptProfile(profile string) []byte
- func IsAdmin(q string) bool
- func ProfileCookie(email string) []byte
- func SanitizeInput(input string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdminChecker ¶
func CreateAdminProfile ¶
func CreateAdminProfile() []byte
func CreateProfile ¶
func DecryptProfile ¶
func EncodeProfile ¶
func EncryptProfile ¶
func ProfileCookie ¶
func SanitizeInput ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.