Documentation ¶
Index ¶
- func Delete(url string, body []byte, headers map[string]string) (*http.Response, error)
- func Get(url string, body []byte, headers map[string]string) (*http.Response, error)
- func HttpRequest(url string, body []byte, headers map[string]string, method string) (*http.Response, error)
- func Patch(url string, body []byte, headers map[string]string) (*http.Response, error)
- func Post(url string, body []byte, headers map[string]string) (*http.Response, error)
- func Put(url string, body []byte, headers map[string]string) (*http.Response, error)
- type ErrorString
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ErrorString ¶
errorString is a trivial implementation of error.
func (*ErrorString) Error ¶
func (e *ErrorString) Error() string
Click to show internal directories.
Click to hide internal directories.