Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPSettings ¶
type HTTPSettings struct { Cookie map[string]string `optional:"" short:"b" help:"sets the cookie of all outgoing http requests"` Header map[string]string `optional:"" short:"H" help:"sets the headers of all outgoing http requests"` UserAgent string `` /* 199-byte string literal not displayed */ Insecure bool `` /* 225-byte string literal not displayed */ }
func FromLua ¶
func FromLua(t lua.LValue) HTTPSettings
func (*HTTPSettings) Client ¶
func (s *HTTPSettings) Client() *http.Client
Click to show internal directories.
Click to hide internal directories.