Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToheaderCarrier ¶
func UnaryGrpcClientInterceptor ¶
func UnaryGrpcClientInterceptor(timeout time.Duration, mid []endpoint.Middleware) grpc.UnaryClientInterceptor
func UnaryGrpcServerInterceptor ¶
func UnaryGrpcServerInterceptor() grpc.UnaryServerInterceptor
Types ¶
type Transport ¶
type Transport struct {
// contains filtered or unexported fields
}
Transport is a gRPC transport.
func NewTransport ¶
func (*Transport) Kind ¶
func (tr *Transport) Kind() xtransport.Kind
Kind returns the transport kind.
func (*Transport) ReplyHeader ¶
func (tr *Transport) ReplyHeader() xtransport.Header
ReplyHeader returns the reply header.
func (*Transport) RequestHeader ¶
func (tr *Transport) RequestHeader() xtransport.Header
RequestHeader returns the request header.
Click to show internal directories.
Click to hide internal directories.