northbound

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

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.

Directories

Path Synopsis
Package admin implements the northbound administrative gRPC service for the control subsystem.
Package admin implements the northbound administrative gRPC service for the control subsystem.
Package roles :
Package roles :

Jump to

Keyboard shortcuts

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