ghz: github.com/bojand/ghz/internal/wrapped Index | Files

package wrapped

import "github.com/bojand/ghz/internal/wrapped"

Index

Package Files

server.go wrapped.pb.go

func RegisterWrappedServiceServer Uses

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

type UnimplementedWrappedServiceServer Uses

type UnimplementedWrappedServiceServer struct {
}

UnimplementedWrappedServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedWrappedServiceServer) GetMessage Uses

func (*UnimplementedWrappedServiceServer) GetMessage(ctx context.Context, req *wrappers.StringValue) (*wrappers.StringValue, error)

type WrappedService Uses

type WrappedService struct{}

func (*WrappedService) GetMessage Uses

func (s *WrappedService) GetMessage(ctx context.Context, req *wrappers.StringValue) (*wrappers.StringValue, error)

type WrappedServiceClient Uses

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 Uses

func NewWrappedServiceClient(cc *grpc.ClientConn) WrappedServiceClient

type WrappedServiceServer Uses

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

WrappedServiceServer is the server API for WrappedService service.

Package wrapped imports 8 packages (graph) and is imported by 1 packages. Updated 2020-06-05. Refresh now. Tools for package owners.