mirror of
https://github.com/syumai/workers.git
synced 2025-03-11 17:59:12 +00:00
11 lines
198 B
Go
11 lines
198 B
Go
package fetch
|
|
|
|
import (
|
|
"net/http"
|
|
)
|
|
|
|
// Do sends an HTTP request and returns an HTTP response
|
|
func (c *Client) Do(req *Request) (*http.Response, error) {
|
|
return fetch(c.namespace, req.Request)
|
|
}
|