Documentation ¶
Index ¶
Constants ¶
View Source
const (
// RingSize define the ring buffer size for timer engine
RingSize = 3600
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TimerEngine ¶
type TimerEngine struct {
// contains filtered or unexported fields
}
TimerEngine define the timer engine nolint:maligned
func New ¶
func New(name string, concurrencyLevel int, logger *zap.Logger) *TimerEngine
New create a new TimerEngine
func (*TimerEngine) Name ¶
func (te *TimerEngine) Name() string
Name return the name of timer engine
Click to show internal directories.
Click to hide internal directories.