handler

package
v1.22.0 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hello

type Hello struct{}

func (*Hello) Call

func (e *Hello) Call(ctx context.Context, req *hello.Request, rsp *hello.Response) error

Call is a single request handler called via client.Call or the generated client code

func (*Hello) PingPong

func (e *Hello) PingPong(ctx context.Context, stream hello.Hello_PingPongStream) error

PingPong is a bidirectional stream handler called via client.Stream or the generated client code

func (*Hello) Stream

Stream is a server side stream handler called via client.Stream or the generated client code

Jump to

Keyboard shortcuts

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