// curl_easy_reset - reset all options of a libcurl session handle func (curl *CURL) Reset() { p := curl.handle C.curl_easy_reset(p) }
func (easy *Easy) Reset() { C.curl_easy_reset(easy.cptr) easy.writeFunc = nil easy.writeData = nil }