Documentation
¶
Index ¶
- Constants
- Variables
- type Response
- func Delete(url string, headers map[string]string, body io.Reader, timeout int) (Response, error)
- func Get(url string, headers map[string]string, body io.Reader, timeout int) (Response, error)
- func Post(url string, headers map[string]string, body io.Reader, timeout int) (Response, error)
- func Put(url string, headers map[string]string, body io.Reader, timeout int) (Response, error)
- func Request(method string, url string, headers map[string]string, body io.Reader, ...) (Response, error)
- func RequestWithTLSConfig(method string, url string, headers map[string]string, body io.Reader, ...) (Response, error)
Constants ¶
View Source
const (
Timeout = 10
)
Variables ¶
View Source
var DefaultTLSConfig = tls.Config{InsecureSkipVerify: true}
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.