Documentation
¶
Overview ¶
Package http wraps part of the Go "net/http" package (https://golang.org/pkg/net/http/)
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HTTPGetRet ¶
type HTTPGetRet struct {
StatusCode int `json:"status_code"`
Header http.Header `json:"header"`
Payload string `json:"payload"`
}
func HTTPGet ¶
func HTTPGet(url string) (*HTTPGetRet, error)
func (HTTPGetRet) String ¶
func (out HTTPGetRet) String() string
Click to show internal directories.
Click to hide internal directories.