Documentation
¶
Index ¶
- func CheckAllParamsExist(r *http.Request, requiredParams []string) bool
- func CheckAndCreateSSL(cp string, kp string) error
- func GetRandomHexString(length int) string
- func GetRandomString(length int) string
- func GetRelativePath(r *http.Request) (previousPage string)
- func IsRelativeURL(inputURL string) bool
- func RedirectBack(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckAndCreateSSL ¶
CheckAndCreateSSL is a helper to setup self-signed certificates for the administrative interface.
func GetRandomHexString ¶
func GetRandomString ¶
func GetRelativePath ¶
GetRelativePath returns the relative path of the previous page
func IsRelativeURL ¶
IsRelativeURL checks if a URL is relative or not
func RedirectBack ¶
func RedirectBack(w http.ResponseWriter, r *http.Request)
RedirectBack redirects to the previous page
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.