grpcbinhandler

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: May 23, 2021 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct{}

func (*Handler) DummyBidirectionalStreamStream

func (h *Handler) DummyBidirectionalStreamStream(stream pb.GRPCBin_DummyBidirectionalStreamStreamServer) error

func (*Handler) DummyClientStream

func (h *Handler) DummyClientStream(stream pb.GRPCBin_DummyClientStreamServer) error

func (*Handler) DummyServerStream

func (h *Handler) DummyServerStream(in *pb.DummyMessage, stream pb.GRPCBin_DummyServerStreamServer) error

func (*Handler) DummyUnary

func (h *Handler) DummyUnary(ctx context.Context, in *pb.DummyMessage) (*pb.DummyMessage, error)

func (*Handler) Empty

func (h *Handler) Empty(ctx context.Context, in *pb.EmptyMessage) (*pb.EmptyMessage, error)

func (*Handler) HeadersUnary

func (h *Handler) HeadersUnary(ctx context.Context, in *pb.EmptyMessage) (*pb.HeadersMessage, error)

func (*Handler) Index

func (h *Handler) Index(ctx context.Context, in *pb.EmptyMessage) (*pb.IndexReply, error)

func (*Handler) NoResponseUnary

func (h *Handler) NoResponseUnary(ctx context.Context, in *pb.EmptyMessage) (*pb.EmptyMessage, error)

func (*Handler) RandomError

func (h *Handler) RandomError(ctx context.Context, in *pb.EmptyMessage) (*pb.EmptyMessage, error)

func (*Handler) SpecificError

func (h *Handler) SpecificError(ctx context.Context, in *pb.SpecificErrorRequest) (*pb.EmptyMessage, error)

Jump to

Keyboard shortcuts

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