Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrAddrListNil = errors.New("addrList can't be nil") ErrPoolSize = errors.New("Pool size should be no greater then length of addr list") )
Functions ¶
func DecodeConfig ¶
Types ¶
type Config ¶
type Config struct { Local bool `tome:"local"` Name string `tome:"name"` AggrSize int `tome:"aggrSize"` SendConcurrency int `tome:"sendConcurrency"` CacheConfig *file.Config `tome:"cacheConfig"` LancerGateway *streamEvent.Config `tome:"lancerGateway"` SendBatchSize int `tome:"sendBatchSize"` SendBatchNum int `tome:"sendBatchNum"` SendBatchTimeout xtime.Duration `tome:"sendBatchTimeout"` SendFlushInterval xtime.Duration `tome:"sendFlushInterval"` InitialRetryDuration xtime.Duration `tome:"initialRetryDuration"` MaxRetryDuration xtime.Duration `tome:"maxRetryDuration"` }
func (*Config) ConfigValidate ¶
type ConnPoolConfig ¶
type ConnPoolConfig struct { Name string `tome:"name"` AddrList []string `tome:"addrList"` DialTimeout time.Duration `tome:"dialTimeout"` IdleTimeout time.Duration `tome:"idleTimeout"` BufSize int `tome:"bufSize"` PoolSize int `tome:"poolSize"` }
func (*ConnPoolConfig) ConfigValidate ¶
func (c *ConnPoolConfig) ConfigValidate() error
type Lancer ¶
type Lancer struct {
// contains filtered or unexported fields
}
func (*Lancer) InputChan ¶
func (l *Lancer) InputChan() chan *event.ProcessorEvent
type LancerBufConn ¶
type LancerBufConn struct {
// contains filtered or unexported fields
}
Directories ¶
Path | Synopsis |
---|---|
Package StreamEvent is a generated protocol buffer package.
|
Package StreamEvent is a generated protocol buffer package. |
Click to show internal directories.
Click to hide internal directories.