Source File
http.go
Belonging Package
net/http
package http
import (
)
type incomparable [0]func()
const maxInt64 = 1<<63 - 1
var aLongTimeAgo = time.Unix(1, 0)
var omitBundledHTTP2 bool
type contextKey struct {
name string
}
func ( *contextKey) () string { return "net/http context value " + .name }
func ( string) bool {
for := 0; < len(); ++ {
:= []
if < ' ' || == 0x7f {
return true
}
}
return false
}
func ( string) string {
:= 0
for := 0; < len(); ++ {
if [] >= utf8.RuneSelf {
+= 3
} else {
++
}
}
if == len() {
return
}
:= make([]byte, 0, )
for := 0; < len(); ++ {
if [] >= utf8.RuneSelf {
= append(, '%')
= strconv.AppendInt(, int64([]), 16)
} else {
= append(, [])
}
}
return string()
}
Push(target string, opts *PushOptions) error
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |