Documentation
¶
Index ¶
- Constants
- func Bytes_LastIndexByte(s []byte, c byte) int
- func Net_Http_BasicAuth(r *http.Request) (username, password string, ok bool)
- func Net_Http_Server_ServeTLS(srv *http.Server, l net.Listener, certFile, keyFile string) error
- func Net_Url_PathEscape(s string) string
- func Net_Url_PathUnescape(s string) (string, error)
- func Os_LookupEnv(key string) (string, bool)
- func Strings_LastIndexByte(s string, c byte) int
- func Time_AppendFormat(t time.Time, b []byte, layout string) []byte
- type Net_Url_EscapeError
- type Net_Url_InvalidHostError
Constants ¶
View Source
const ( Net_Http_MethodGet = "GET" Net_Http_MethodHead = "HEAD" Net_Http_MethodPost = "POST" Net_Http_MethodPut = "PUT" Net_Http_MethodPatch = "PATCH" // RFC 5789 Net_Http_MethodDelete = "DELETE" Net_Http_MethodConnect = "CONNECT" Net_Http_MethodOptions = "OPTIONS" Net_Http_MethodTrace = "TRACE" )
Variables ¶
This section is empty.
Functions ¶
func Bytes_LastIndexByte ¶
func Net_Http_BasicAuth ¶
func Net_Url_PathEscape ¶
func Net_Url_PathUnescape ¶
PathUnescape does the inverse transformation of PathEscape, converting each 3-byte encoded substring of the form "%AB" into the hex-decoded byte 0xAB. It returns an error if any % is not followed by two hexadecimal digits.
PathUnescape is identical to QueryUnescape except that it does not unescape '+' to ' ' (space).
func Os_LookupEnv ¶
func Strings_LastIndexByte ¶
Types ¶
type Net_Url_EscapeError ¶
type Net_Url_EscapeError string
func (Net_Url_EscapeError) Error ¶
func (e Net_Url_EscapeError) Error() string
type Net_Url_InvalidHostError ¶
type Net_Url_InvalidHostError string
func (Net_Url_InvalidHostError) Error ¶
func (e Net_Url_InvalidHostError) Error() string
Click to show internal directories.
Click to hide internal directories.