client

package
v0.0.36 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StatusWithDetails

func StatusWithDetails(err error) error

Types

type Client

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

func New

func New(addr string) (*Client, error)

func (*Client) Call

func (c *Client) Call(w io.Writer, names []string, streamType string) error

func (*Client) CallBidiStream added in v0.0.9

func (c *Client) CallBidiStream(w io.Writer, names []string) error

func (*Client) CallClientStream

func (c *Client) CallClientStream(w io.Writer, names []string) error

func (*Client) CallServerStream

func (c *Client) CallServerStream(w io.Writer, name string) error

func (*Client) CallUnary

func (c *Client) CallUnary(w io.Writer, name string) error

func (*Client) Close

func (c *Client) Close() error

Jump to

Keyboard shortcuts

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