func Timeout(timeout time.Duration) func(r *HTTPRequester) {
	return func(r *HTTPRequester) {
		r.client = http.Client{Timeout: timeout}
	}
}
Timeout sets http client timeout
package utils
import (
	"bytes"
	"errors"
	"fmt"
	"github.com/optimizely/go-sdk/pkg/logging"
	"io"
	"io/ioutil"
	"net/http"
	"time"
	jsoniter "github.com/json-iterator/go"
)
const defaultTTL = 5 * time.Second
var json = jsoniter.ConfigCompatibleWithStandardLibrary
type Requester interface {
	Get(url string, headers ...Header) (response []byte, responseHeaders http.Header, code int, err error)
	GetObj(url string, result interface{}, headers ...Header) error
	Post(url string, body interface{}, headers ...Header) (response []byte, responseHeaders http.Header, code int, err error)
	PostObj(url string, body interface{}, result interface{}, headers ...Header) error
	String() string
}
type Header struct {
	Name, Value string
}