client

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: May 18, 2017 License: MIT Imports: 4 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 struct {
	example.ExampleServiceClient
	Conn *grpc.ClientConn
}

func NewClient

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

func (*Client) Close

func (c *Client) Close()

func (*Client) RequestAlphaTime

func (c *Client) RequestAlphaTime() (*example.MyTime, error)

func (*Client) RequestDurationForLength

func (c *Client) RequestDurationForLength(meters int64) (*example.MyDuration, error)

func (*Client) RequestOmegaTime

func (c *Client) RequestOmegaTime() (*example.MyTime, error)

func (*Client) RequestPhone

func (c *Client) RequestPhone() (*example.Product, error)

func (*Client) RequestRandomCategory

func (c *Client) RequestRandomCategory() (*categories.CategoryOptions, error)

func (*Client) RequestRandomNumber

func (c *Client) RequestRandomNumber(mean, std float64) (float64, error)

Jump to

Keyboard shortcuts

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