grpc

package
Version: v1.0.7 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClientCall

func ClientCall(ctx context.Context, grpcClient *Client) ([]byte, error)

func Hello

func Hello() *helloApi.HelloMessage

func StartServer

func StartServer(port string, options []grpc.ServerOption) error

Types

type Client added in v1.0.5

type Client struct {
	// contains filtered or unexported fields
}

func NewClient added in v1.0.5

func NewClient(addr string) *Client

func (*Client) Build added in v1.0.5

func (c *Client) Build() (grpc.ClientConnInterface, error)

func (*Client) WithOption added in v1.0.5

func (c *Client) WithOption(option grpc.DialOption) *Client

type Greetings

type Greetings struct{}

func (Greetings) Hello

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL