test

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2020 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloseSessions

func CloseSessions(sessions []*primitive.Session)

CloseSessions closes the given sessions

func OpenSessions

func OpenSessions(partitions []primitive.Partition, opts ...primitive.SessionOption) ([]*primitive.Session, error)

OpenSessions opens sessions for the given partitions

func StartTestPartitions

func StartTestPartitions(numPartitions int) ([]primitive.Partition, []chan struct{})

StartTestPartitions starts the given number of local partitions and returns client connections for them

func StopTestPartitions

func StopTestPartitions(chans []chan struct{})

StopTestPartitions stops the given test partition channels

Types

This section is empty.

Jump to

Keyboard shortcuts

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