Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Connect ¶
func Connect(serviceName string, f GrpcKubeBalancer) (interface{}, error)
Connect - Call to get a connection to the given service and namespace. Will initialize a connection if not yet initialized
Types ¶
type GrpcKubeBalancer ¶
type GrpcKubeBalancer interface { NewGrpcClient(conn *grpc.ClientConn) (interface{}, error) Ping(grpcConnection interface{}) error }
GrpcKubeBalancer - defines the interface required to setup the actual grpc connection
Click to show internal directories.
Click to hide internal directories.