Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UnaryRequest ¶
type UnaryRequest struct{}
func NewUnaryRequest ¶
func NewUnaryRequest() *UnaryRequest
func (*UnaryRequest) AddBasicAuth ¶
func (u *UnaryRequest) AddBasicAuth(ctx context.Context, method string, req, reply any, cc *grpc.ClientConn, invoker grpc.UnaryInvoker, opts ...grpc.CallOption) error
type UnaryResponse ¶
type UnaryResponse struct{}
func NewUnaryResponse ¶
func NewUnaryResponse() *UnaryResponse
func (*UnaryResponse) Error ¶
func (u *UnaryResponse) Error(ctx context.Context, req any, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (any, error)
func (*UnaryResponse) Recovery ¶
func (u *UnaryResponse) Recovery(ctx context.Context, req any, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (resp any, err error)
Click to show internal directories.
Click to hide internal directories.