Versions in this module Expand all Collapse all v6 v6.2.5 Nov 13, 2019 Changes in this version + type HandlerLimit struct + MaxQPS int32 + ServiceMethod string + type LimitConfig struct + MaxConn int32 + MaxHandlerQPS []HandlerLimit + MaxTotalQPS int32 + QPSInterval time.Duration + type Overloader struct + func New(initLimitConfig LimitConfig) *Overloader + func (o *Overloader) LimitConfig() LimitConfig + func (o *Overloader) Name() string + func (o *Overloader) PostAccept(_ tp.PreSession) *tp.Status + func (o *Overloader) PostDial(sess tp.PreSession, isRedial bool) *tp.Status + func (o *Overloader) PostDisconnect(_ tp.BaseSession) *tp.Status + func (o *Overloader) PostReadCallHeader(ctx tp.ReadCtx) *tp.Status + func (o *Overloader) PostReadPushHeader(ctx tp.ReadCtx) *tp.Status + func (o *Overloader) Update(newLimitConfig LimitConfig)