Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Deduplicate ¶
type Deduplicate struct { *core.BaseProcessor `mapstructure:"-"` IdempotencyKey string `mapstructure:"idempotency_key"` Redis Redis `mapstructure:"redis"` *retryer.Retryer `mapstructure:",squash"` // contains filtered or unexported fields }
func (*Deduplicate) Close ¶
func (p *Deduplicate) Close() error
func (*Deduplicate) Init ¶
func (p *Deduplicate) Init() error
func (*Deduplicate) Run ¶
func (p *Deduplicate) Run()
func (*Deduplicate) SetId ¶
func (p *Deduplicate) SetId(id uint64)
type Redis ¶
type Redis struct { Servers []string `mapstructure:"servers"` Username string `mapstructure:"username"` Password string `mapstructure:"password"` Keyspace string `mapstructure:"keyspace"` TTL time.Duration `mapstructure:"ttl"` Timeout time.Duration `mapstructure:"timeout"` ConnsMaxIdleTime time.Duration `mapstructure:"conns_max_idle_time"` ConnsMaxLifetime time.Duration `mapstructure:"conns_max_life_time"` ConnsMaxOpen int `mapstructure:"conns_max_open"` ConnsMaxIdle int `mapstructure:"conns_max_idle"` *tls.TLSClientConfig `mapstructure:",squash"` }
Click to show internal directories.
Click to hide internal directories.