SendStringGet enqueues the URL strings to be fetched with a GET method. It returns an error if the URL string cannot be parsed, or if the Queue has been closed. The first return value is the number of URLs successfully enqueued.
(rawurl ...string)
| 214 | // It returns an error if the URL string cannot be parsed, or if the Queue has been closed. |
| 215 | // The first return value is the number of URLs successfully enqueued. |
| 216 | func (q *Queue) SendStringGet(rawurl ...string) (int, error) { |
| 217 | return q.sendWithMethod("GET", rawurl) |
| 218 | } |
| 219 | |
| 220 | // Parses the URL strings and enqueues them as *Cmd. It returns the number of URLs |
| 221 | // successfully enqueued, and an error if the URL string cannot be parsed or |