Documentation ¶
Index ¶
Constants ¶
View Source
const (
Name = "grpc"
)
const
Variables ¶
View Source
var ( ErrGRPCSvcDescMissing = errors.New("must use server.WithRPCServiceDesc to set desc") ErrGRPCSvcType = errors.New("must set *grpc.ServiceDesc") )
err define
Functions ¶
func Request2Invocation ¶
func Request2Invocation(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo) *invocation.Invocation
Request2Invocation convert grpc protocol to invocation
Types ¶
Click to show internal directories.
Click to hide internal directories.