grpc

package
v0.0.0-...-62716b9 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeCreateRequest

func DecodeCreateRequest(ctx context.Context, rbRequest interface{}) (request interface{}, err error)

DecodeCreateRequest is used in the client and decodes a gRPC request into a domain-level request

func DecodeCreateResponse

func DecodeCreateResponse(ctx context.Context, pbResponse interface{}) (response interface{}, err error)

DecodeCreateResponse is used in the server and decodes a gRPC response into a domain-level response

func EncodeCreateRequest

func EncodeCreateRequest(ctx context.Context, request interface{}) (pbRequest interface{}, err error)

EncodeCreateRequest is used in the server and encodes a domain-level request into a gRPC request

func EncodeCreateResponse

func EncodeCreateResponse(ctx context.Context, response interface{}) (pbResponse interface{}, err error)

EncodeCreateResponse is used in the client and encodes a domain-level response into a gRPC response

func NewServer

func NewServer(endpoints endpoint.Set, logger log.Logger) pb.UserServiceServer

Types

This section is empty.

Jump to

Keyboard shortcuts

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