pb

package
v0.0.0-...-881f455 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterGoodbyeServiceServer

func RegisterGoodbyeServiceServer(s *grpc.Server, srv GoodbyeServiceServer)

func RegisterHelloServiceServer

func RegisterHelloServiceServer(s *grpc.Server, srv HelloServiceServer)

Types

type GoodbyeServiceClient

type GoodbyeServiceClient interface {
	SayGoodbye(ctx context.Context, in *wrappers.StringValue, opts ...grpc.CallOption) (*wrappers.StringValue, error)
}

GoodbyeServiceClient is the client API for GoodbyeService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewGoodbyeServiceClient

func NewGoodbyeServiceClient(cc *grpc.ClientConn) GoodbyeServiceClient

type GoodbyeServiceServer

type GoodbyeServiceServer interface {
	SayGoodbye(context.Context, *wrappers.StringValue) (*wrappers.StringValue, error)
}

GoodbyeServiceServer is the server API for GoodbyeService service.

type HelloServiceClient

type HelloServiceClient interface {
	SayHello(ctx context.Context, in *wrappers.StringValue, opts ...grpc.CallOption) (*wrappers.StringValue, error)
}

HelloServiceClient is the client API for HelloService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewHelloServiceClient

func NewHelloServiceClient(cc *grpc.ClientConn) HelloServiceClient

type HelloServiceServer

type HelloServiceServer interface {
	SayHello(context.Context, *wrappers.StringValue) (*wrappers.StringValue, error)
}

HelloServiceServer is the server API for HelloService service.

Jump to

Keyboard shortcuts

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