grpc

package
v0.0.1-alpha.6 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2017 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeGRPCWorkflowGetRequest

func DecodeGRPCWorkflowGetRequest(_ context.Context, grpcReq interface{}) (interface{}, error)

DecodeGRPCWorkflowGetRequest is a transport/grpc.DecodeRequestFunc that converts a gRPC workflow request to a user-domain workflowGet request.

func DecodeGRPCWorkflowGetResponse

func DecodeGRPCWorkflowGetResponse(_ context.Context, grpcResp interface{}) (interface{}, error)

DecodeGRPCWorkflowGetResponse is a transport/grpc.DecodeResponseFunc that converts a gRPC workflowGet response to a user-domain workflowGet response.

func EncodeGRPCWorkflowGetRequest

func EncodeGRPCWorkflowGetRequest(_ context.Context, grpcReq interface{}) (interface{}, error)

EncodeGRPCWorkflowGetRequest is a transport/grpc.EncodeRequestFunc that converts a user-domain workflowGet request to a gRPC workflowGet request.

func EncodeGRPCWorkflowGetResponse

func EncodeGRPCWorkflowGetResponse(_ context.Context, response interface{}) (interface{}, error)

EncodeGRPCWorkflowGetResponse is a transport/grpc.EncodeResponseFunc that converts a user-domain workflowGet response to a gRPC workflowGet response.

func NewHandler

func NewHandler(ctx context.Context, eps endpoints.Endpoints, logger log.Logger) pb.WorkflowServer

NewHandler returns a handler that makes a set of endpoints available as a gRPC WorkflowServer.

Types

This section is empty.

Jump to

Keyboard shortcuts

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