Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Address is a test server address as "127.0.0.1:port" string Address string // Opts is a set of gRPC connection options Opts []grpc.DialOption // DbPath is the file system path to the database DbPath = "/tmp/rolesdb" )
Functions ¶
func Connect ¶
func Connect(address string, opts ...grpc.DialOption) *grpc.ClientConn
Connect establishes a client-side connection to the gRPC end-point.
func SetUpServer ¶
func SetUpServer(port int16, service northbound.Service, waitGroup *sync.WaitGroup)
SetUpServer sets up a test manager and a gRPC end-point to which it registers the given service.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.