wrapped

package
v0.61.0 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterWrappedServiceServer

func RegisterWrappedServiceServer(s *grpc.Server, srv WrappedServiceServer)

Types

type UnimplementedWrappedServiceServer

type UnimplementedWrappedServiceServer struct {
}

UnimplementedWrappedServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedWrappedServiceServer) GetMessage

type WrappedService

type WrappedService struct{}

func (*WrappedService) GetMessage

type WrappedServiceClient

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

WrappedServiceClient is the client API for WrappedService service.

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

func NewWrappedServiceClient

func NewWrappedServiceClient(cc *grpc.ClientConn) WrappedServiceClient

type WrappedServiceServer

type WrappedServiceServer interface {
	GetMessage(context.Context, *wrappers.StringValue) (*wrappers.StringValue, error)
}

WrappedServiceServer is the server API for WrappedService service.

Jump to

Keyboard shortcuts

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