helloworld

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGreeterClient

func NewGreeterClient(conn gopi.RPCClientConn) gopi.RPCClient

Types

type Client

type Client struct {
	pb.GreeterClient
	// contains filtered or unexported fields
}

func (*Client) Conn

func (this *Client) Conn() gopi.RPCClientConn

func (*Client) NewContext

func (this *Client) NewContext() context.Context

func (*Client) SayHello

func (this *Client) SayHello(name string) (string, error)

func (*Client) String

func (this *Client) String() string

type Service

type Service struct {
	Server gopi.RPCServer
}

func (Service) Open

func (config Service) Open(log gopi.Logger) (gopi.Driver, error)

Open the server

Jump to

Keyboard shortcuts

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