File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -6,27 +6,27 @@ import (
66 "time"
77)
88
9- type prodClient struct {
9+ type ProdClient struct {
1010 * http.Client
1111}
1212
13- func (c * prodClient ) SetCookieJar (jar http.CookieJar ) {
13+ func (c * ProdClient ) SetCookieJar (jar http.CookieJar ) {
1414 c .Jar = jar
1515}
1616
17- func (c * prodClient ) SetCookies (url * url.URL , cookies []* http.Cookie ) {
17+ func (c * ProdClient ) SetCookies (url * url.URL , cookies []* http.Cookie ) {
1818 c .Jar .SetCookies (url , cookies )
1919}
2020
21- func (c * prodClient ) SetCustomTimeout (timeout time.Duration ) {
21+ func (c * ProdClient ) SetCustomTimeout (timeout time.Duration ) {
2222 c .Timeout = timeout
2323}
2424
25- func (c * prodClient ) Cookies (url * url.URL ) []* http.Cookie {
25+ func (c * ProdClient ) Cookies (url * url.URL ) []* http.Cookie {
2626 return c .Jar .Cookies (url )
2727}
2828
29- func (c * prodClient ) SetRedirectPolicy (policy * func (req * http.Request , via []* http.Request ) error ) {
29+ func (c * ProdClient ) SetRedirectPolicy (policy * func (req * http.Request , via []* http.Request ) error ) {
3030 c .CheckRedirect = * policy
3131}
3232
You can’t perform that action at this time.
0 commit comments