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 Os_LookupEnv(key string) (string, bool)
- func Strings_Compare(a, b string) int
- func Strings_LastIndexByte(s string, c byte) int
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 Os_LookupEnv ¶
func Strings_Compare ¶
Compare returns an integer comparing two strings lexicographically. The result will be 0 if a==b, -1 if a < b, and +1 if a > b.
Compare is included only for symmetry with package bytes. It is usually clearer and always faster to use the built-in string comparison operators ==, <, >, and so on.
func Strings_LastIndexByte ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.