grpc

package
v0.0.0-...-4e7bad8 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServerBinding

type ServerBinding struct {
	pb.UnimplementedEchoServer
	// contains filtered or unexported fields
}

func NewServerBinding

func NewServerBinding(svc Service, opts ...kitgrpc.ServerOption) *ServerBinding

func (ServerBinding) BiStream

func (sb ServerBinding) BiStream(s pb.Echo_BiStreamServer) error

func (ServerBinding) InnerStream

func (sb ServerBinding) InnerStream(req *pb.EchoRequest, s pb.Echo_InnerStreamServer) error

func (ServerBinding) OuterStream

func (sb ServerBinding) OuterStream(s pb.Echo_OuterStreamServer) error

func (ServerBinding) Unary

func (sb ServerBinding) Unary(ctx context.Context, req *pb.EchoRequest) (*pb.EchoResponse, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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