feat: complete API-driven projects with infrastructure and business acceptance
This commit is contained in:
4
omni.go
4
omni.go
@@ -48,6 +48,10 @@ func WithRequestIDHeader(header string) Option { return config.WithRequestIDHead
|
||||
|
||||
func WithLogger(enabled bool) Option { return config.WithLogger(enabled) }
|
||||
|
||||
func WithSlowRequestThreshold(threshold time.Duration) Option {
|
||||
return config.WithSlowRequestThreshold(threshold)
|
||||
}
|
||||
|
||||
func WithTrustedProxies(proxies ...string) Option { return config.WithTrustedProxies(proxies...) }
|
||||
|
||||
func WithConfig(settings Config) Option { return config.WithConfig(settings) }
|
||||
|
||||
Reference in New Issue
Block a user