Versions in this module Expand all Collapse all v0 v0.6.2 Jul 2, 2023 v0.6.1 Jun 28, 2023 v0.6.0 Jun 27, 2023 Changes in this version + func NewH2cRoundTripper(log log.Logger, hook hook.Service) http.RoundTripper + func Serve(ctx context.Context, logger log.Logger, cfg Config, handler http.Handler) func(ctx context.Context) error + func WithoutCancel(ctx context.Context) context.Context + type Config struct + Host string + Name string + Port int + RulesPath string + RulesPathSecret string + type Context struct + func (c Context) Deadline() (time.Time, bool) + func (c Context) Done() <-chan struct{} + func (c Context) Err() error + func (c Context) Value(key interface{}) interface{} + type Director struct + func NewDirector() *Director + func (h Director) Direct(req *http.Request) + type H2c struct + func NewH2c(roundTripper http.RoundTripper, director RequestDirector) *H2c + func (p *H2c) ServeHTTP(w http.ResponseWriter, r *http.Request) + type RequestDirector interface + Direct func(*http.Request) + type ServicesConfig struct + Services []Config