package config
import "github.com/ydb-platform/ydb-go-sdk/v3/internal/ratelimiter/config"
Index ¶
Types ¶
type Config ¶
Config is a configuration of ratelimiter client
nolint: maligned
func New ¶
func (Config) Trace ¶
func (c Config) Trace() trace.Ratelimiter
Trace returns trace over ratelimiter calls
type Option ¶
type Option func(c *Config)
func With ¶
With applies common configuration params
func WithTrace ¶
func WithTrace(trace trace.Ratelimiter, opts ...trace.RatelimiterComposeOption) Option
WithTrace appends ratelimiter trace to early defined traces
Source Files ¶
- Version
- v3.28.0
- Published
- Jul 6, 2022
- Platform
- linux/amd64
- Imports
- 2 packages
- Last checked
- 21 seconds ago –
Tools for package owners.