mock

package
v1.0.1-rc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 29, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Ticker    = tw.NewTimingWheel(100*time.Millisecond, 650)
	MockRoute = router.Init(MockCluster, &config.RouteConfig{
		Recycle:   config.Duration{time.Second * 60},
		Threshold: 10,
		Timeout:   config.Duration{time.Second * 2},
	}, Ticker)
)
View Source
var (
	//用于引用cluster包,但是执行逻辑中不依赖cluster的模拟测试数据
	MockCluster = new(mockCluster)
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL