rpc1

package
v0.0.0-...-ad582c0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2020 License: EPL-1.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterRpc1Handler

func RegisterRpc1Handler(s server.Server, hdlr Rpc1Handler, opts ...server.HandlerOption) error

Types

type Rpc1Handler

type Rpc1Handler interface {
	Say(context.Context, *srv1.HelloRequest, *srv1.HelloResponse) error
}

type Rpc1Service

type Rpc1Service interface {
	Say(ctx context.Context, in *srv1.HelloRequest, opts ...client.CallOption) (*srv1.HelloResponse, error)
}

func NewRpc1Service

func NewRpc1Service(name string, c client.Client) Rpc1Service

Jump to

Keyboard shortcuts

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