common

package
v0.0.0-...-667e438 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const UndefinedParamValue = ""

UndefinedParamValue defines what undefined parameters in the command line will initialise to

Variables

View Source
var GenDevopsClient func() (pb.DevopsClient, error)

Functions

func GetDevopsClient

func GetDevopsClient(cmd *cobra.Command) (pb.DevopsClient, error)

GetDevopsClient returns a new client connection for this peer

func NewPeerClientConnection

func NewPeerClientConnection() (*grpc.ClientConn, error)

Types

type ClientConn

type ClientConn struct {
	C         *grpc.ClientConn
	BlockConn bool
}

func (*ClientConn) Dial

func (conn *ClientConn) Dial(server string) error

func (*ClientConn) Dialdefault

func (conn *ClientConn) Dialdefault() error

Jump to

Keyboard shortcuts

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