Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterJSObjects ¶
RegisterJSObjects register func to JS
Types ¶
type RequestOpt ¶
type RequestOpt struct { IgnoreHTTPSChecks bool `json:"ignoreHttpsChecks,omitempty"` AllowRedirect bool `json:"allowRedirect,omitempty"` Timeout int `json:"timeout,omitempty"` Header map[string]string `json:"header,omitempty"` Cookies []*http.Cookie `json:"cookies,omitempty"` ContentType string `json:"contentType,omitempty"` Accept string `json:"accept,omitempty"` }
RequestOpt options to run an http request
Click to show internal directories.
Click to hide internal directories.