Documentation ¶
Index ¶
- Variables
- type OwlClient
- type OwlHttp
- func (h *OwlHttp) AddCookie(key, value string)
- func (h *OwlHttp) BasicAuth(username, password string)
- func (h *OwlHttp) Body(body io.Reader)
- func (h *OwlHttp) Claer() *OwlHttp
- func (h *OwlHttp) Do() (*Response, error)
- func (h *OwlHttp) EchoInfo()
- func (h *OwlHttp) Get(Url string)
- func (h *OwlHttp) Header() http.Header
- func (h *OwlHttp) Host(hostname string)
- func (h *OwlHttp) Post(Url, bodyType string, body io.Reader)
- func (h *OwlHttp) PostForm(Url string)
- func (h *OwlHttp) SetTimeout(t time.Duration)
- func (h *OwlHttp) UserAgent(useragent string)
- type Response
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrorHttpsClientInsecureSkipVerify = errors.New("Configuration file HttpsClient_InsecureSkipVerify filled in error")
)
Functions ¶
This section is empty.
Types ¶
type OwlHttp ¶
type Response ¶
func (*Response) DownLoadFile ¶
Response body save as a file
func (*Response) JsonUnmarshal ¶
Json.Unmarshal ResponseBody
Click to show internal directories.
Click to hide internal directories.