Versions in this module Expand all Collapse all v0 v0.2.2 Aug 8, 2025 v0.2.1 Mar 27, 2025 Changes in this version + type Option func(p *Proxy) error + func WithDestinationAddress(addr string) Option + func WithHost(host string) Option + func WithJwtSecret(secret string) Option + func WithLogFile(f *os.File) Option + func WithLogger(l *logrus.Logger) Option + func WithPort(port int) Option + type Proxy struct + func New(opts ...Option) (*Proxy, error) + func (p *Proxy) AddRequestInterceptor(rpcMethodName string, response func() interface{}, trigger func() bool) + func (p *Proxy) Address() string + func (p *Proxy) ReleaseBackedUpRequests(rpcMethodName string) + func (p *Proxy) RemoveRequestInterceptor(rpcMethodName string) + func (p *Proxy) ServeHTTP(w http.ResponseWriter, r *http.Request) + func (p *Proxy) Start(ctx context.Context) error