client

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	pb.ControllerClient
	pb.FileShareControllerClient

	Connect(edp string) error
}

Client interface provides an abstract description about how to interact with gRPC client. Besides some nested methods defined in pb.ControllerClient, Client also exposes two methods: Connect() and Close(), for which callers can easily open and close gRPC connection.

func NewClient

func NewClient() Client

Jump to

Keyboard shortcuts

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