Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RequestWrapper ¶
RequestWrapper wraps a gRPC message to implement the message.Message interface: this adapts service gRPC messages to work with the frostfs-sdk-go RPC client.
func (*RequestWrapper) ToGRPCMessage ¶
func (w *RequestWrapper) ToGRPCMessage() grpc.Message
ToGRPCMessage returns the wrapped gRPC message.
type ResponseWrapper ¶
ResponseWrapper is a generic wrapper for gRPC response messages.
func NewResponseWrapper ¶
func NewResponseWrapper[T grpc.Message]() *ResponseWrapper[T]
NewResponseWrapper creates a new response wrapper for the given type.
func (*ResponseWrapper[T]) FromGRPCMessage ¶
func (w *ResponseWrapper[T]) FromGRPCMessage(m grpc.Message) error
FromGRPCMessage sets the wrapped message from a gRPC message.
func (*ResponseWrapper[T]) ToGRPCMessage ¶
func (w *ResponseWrapper[T]) ToGRPCMessage() grpc.Message
ToGRPCMessage returns the wrapped gRPC message.
Click to show internal directories.
Click to hide internal directories.