handler

package
v0.0.0-...-3fc60fe Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Test

type Test struct{}

func (*Test) PingPong

func (e *Test) PingPong(ctx context.Context, stream test.Test_PingPongStream) error

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

func (*Test) Stream

func (e *Test) Stream(ctx context.Context, req *test.StreamingRequest, stream test.Test_StreamStream) error

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

func (*Test) TestCall

func (e *Test) TestCall(ctx context.Context, req *test.Request, rsp *test.Response) error

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

Jump to

Keyboard shortcuts

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