bouncer/internal/proxy/director/layer/rewriter/options.go
William Petit c73fe8cca5
All checks were successful
Cadoles/bouncer/pipeline/head This commit looks good
feat(rewriter): pass structured url to ease request rewriting
2024-06-28 10:46:38 +02:00

17 lines
207 B
Go

package rewriter
type Options struct {
}
type OptionFunc func(opts *Options)
func NewOptions(funcs ...OptionFunc) *Options {
opts := &Options{}
for _, fn := range funcs {
fn(opts)
}
return opts
}