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"` PoolConfig *ConnPoolConfig `tome:"poolConfig"` }
func (*Config) ConfigValidate ¶
type ConnPoolConfig ¶
type ConnPoolConfig struct { Name string `tome:"name"` AddrList []string `tome:"addrList"` DialTimeout xtime.Duration `tome:"dialTimeout"` IdleTimeout xtime.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
}
Click to show internal directories.
Click to hide internal directories.