func RecorderCert(fileName string) recorderOption {
	return func(r *Recorder) {
		r.cert = fileName
	}
}
The custom CA cert filename to use for the MITM proxy to create certs on the
fly
package httpreplay
import (
	"net/http"
	"net/url"
	"github.com/google/go-replayers/httpreplay/internal/proxy"
)
type Recorder struct {
	proxy   *proxy.Proxy
	port    int
	initial []byte
	cert    string
	key     string
}
type recorderOption func(*Recorder)
func NewRecorder(filename string, initial []byte) (*Recorder, error) {
	p, err := proxy.ForRecording(filename, 0, "", "")
	if err != nil {
		return nil, err
	}
	p.Initial = initial
	return &Recorder{proxy: p}, nil
}