Documentation
¶
Index ¶
- func FormatLocalPath(path []byte) []byte
- func FormatLocalPathString(path string) string
- func GenerateClearCookie(name, domain, path string) string
- func GenerateSecureToken(length int) string
- func GenerateSetCookie(name, value, domain, path, sameSite string, age time.Duration) string
- func GetCookiesFromStr(cookieStr string) map[string]string
- func GetIpAddress(r *http.Request) string
- func HasOnlyLettersAndNumbers(s string) bool
- func IsDir(path string) bool
- func ValidatePath(path string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatLocalPath ¶
func FormatLocalPathString ¶
func GenerateClearCookie ¶
func GenerateSecureToken ¶
func GenerateSetCookie ¶
func GetCookiesFromStr ¶
func GetIpAddress ¶
func ValidatePath ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.