Documentation ¶
Index ¶
- type Client
- func (c *Client) Close()
- func (c *Client) RequestAlphaTime() (*example.MyTime, error)
- func (c *Client) RequestDurationForLength(meters int64) (*example.MyDuration, error)
- func (c *Client) RequestOmegaTime() (*example.MyTime, error)
- func (c *Client) RequestPhone() (*example.Product, error)
- func (c *Client) RequestRandomCategory() (*categories.CategoryOptions, error)
- func (c *Client) RequestRandomNumber(mean, std float64) (float64, error)
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 (*Client) RequestDurationForLength ¶
func (c *Client) RequestDurationForLength(meters int64) (*example.MyDuration, error)
func (*Client) RequestRandomCategory ¶
func (c *Client) RequestRandomCategory() (*categories.CategoryOptions, error)
Click to show internal directories.
Click to hide internal directories.