client

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2018 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 added in v1.2.0

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