Documentation
¶
Index ¶
- func Exists(pth string) (exists bool, err error)
- func ExistsDir(pth string) (exists bool, err error)
- func ExistsFile(pth string) (exists bool, err error)
- func FormatHostPort(hostname string, port int) string
- func GetStatusMessage(code int) string
- func LogError(clientId string, err error)
- func StripPort(hostport string) string
- func WriteStatus(w http.ResponseWriter, code int)
- func WriteText(w http.ResponseWriter, code int, text string)
- func WriteUnauthorized(w http.ResponseWriter, msg string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExistsFile ¶
func FormatHostPort ¶
func GetStatusMessage ¶
func WriteStatus ¶
func WriteStatus(w http.ResponseWriter, code int)
func WriteUnauthorized ¶
func WriteUnauthorized(w http.ResponseWriter, msg string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.