Documentation ¶
Index ¶
- Constants
- func B64(s ...string) string
- func Between(s, sub1, sub2 string) string
- func Close(res *http.Response)
- func Do(req *http.Request) (*http.Response, error)
- func HexMD5(s ...string) string
- func RemoteAddr(r *http.Request) string
- func WithConn() (context.Context, *net.Conn)
- type Auth
- type Request
- type Response
Constants ¶
View Source
const ( AuthNone byte = iota AuthUnknown AuthBasic AuthDigest AuthTPLink // https://drmnsamoliu.github.io/video.html )
View Source
const EndLine = "\r\n"
Variables ¶
This section is empty.
Functions ¶
func RemoteAddr ¶ added in v1.3.1
Types ¶
type Request ¶
type Request struct { Method string URL *url.URL Proto string Header textproto.MIMEHeader Body []byte }
Request like http.Request, but with any proto
Click to show internal directories.
Click to hide internal directories.