Documentation
¶
Index ¶
- func Check(t testing.TB)
- func Context(t testing.TB) context.Context
- func DialWS(t testing.TB, ep *confws.Endpoint) *websocket.Conn
- func NewWSEndpoint(t testing.TB, setup func(*confws.Endpoint)) *confws.Endpoint
- func RunPulsarPubSubTestSuite(ctx context.Context, t testing.TB, dsn string, messages []ProducerMessage, ...)
- func RunRabbitMQPubSubTestSuite(ctx context.Context, t testing.TB, dsn string, messages []ProducerMessage, ...)
- func TryWithPulsar(ctx context.Context, t testing.TB, dsn string) (context.Context, error)
- func TryWithRabbitMQ(ctx context.Context, t testing.TB, dsn string) (context.Context, error)
- func WithMySQL(ctx context.Context, t testing.TB, dsn string, catalogs ...builder.Catalog) (*confrdb.EndpointMySQL, error)
- func WithPulsar(ctx context.Context, t testing.TB, dsn string) context.Context
- func WithPulsarLost(ctx context.Context, t testing.TB, dsn string) context.Context
- func WithRabbitMQ(ctx context.Context, t testing.TB, dsn string) context.Context
- func WithRabbitMQLost(ctx context.Context, t testing.TB, dsn string) context.Context
- func WithRedis(ctx context.Context, t testing.TB, dsn string) context.Context
- func WithRedisLost(ctx context.Context, t testing.TB, dsn string) context.Context
- func WithXXLRegistry(ctx context.Context, t testing.TB, dsn string, executors ...string) context.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewWSEndpoint ¶ added in v0.5.5
NewWSEndpoint 初始化并监听可拨号的 confws.Endpoint(127.0.0.1:0,/ws,默认禁用空闲回收). setup 在 Init 前调用,用于挂钩子/改配置;测试结束自动 Close.
func RunPulsarPubSubTestSuite ¶ added in v0.3.0
func RunRabbitMQPubSubTestSuite ¶ added in v0.4.7
func TryWithPulsar ¶ added in v0.2.20
func TryWithRabbitMQ ¶ added in v0.4.7
func WithPulsar ¶ added in v0.2.3
func WithPulsarLost ¶ added in v0.2.3
func WithRabbitMQ ¶ added in v0.4.7
func WithRabbitMQLost ¶ added in v0.4.7
func WithRedisLost ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.