handler

package
v0.0.0-...-64d7a94 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2021 License: GPL-3.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 Brain

type Brain struct{}

func (*Brain) Call

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

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

func (*Brain) PingPong

func (e *Brain) PingPong(ctx context.Context, stream brain.Brain_PingPongStream) error

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

func (*Brain) 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