Documentation
¶
Index ¶
- func CreateErrorTransportResponse(id int64, code int, msg string) *transport.TransportResponse
- func RPCBufferResponseToRaw(id int64, resp_buffer []byte) ([]byte, error)
- func RPCBufferResquestToRaw(id int64, method transport.Method, req_buffer []byte) ([]byte, error)
- func RPCSignalToRaw(method transport.Signal, data []byte) ([]byte, error)
- func TransportResponseToRaw(resp *transport.TransportResponse) ([]byte, error)
- func UnwrapTransformRequest[T any, P IfWithInit[T]](d P, s *transform.TransformRequest) error
- type IfWithInit
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateErrorTransportResponse ¶
func CreateErrorTransportResponse(id int64, code int, msg string) *transport.TransportResponse
func RPCBufferResponseToRaw ¶
func RPCBufferResquestToRaw ¶
func TransportResponseToRaw ¶
func TransportResponseToRaw(resp *transport.TransportResponse) ([]byte, error)
func UnwrapTransformRequest ¶
func UnwrapTransformRequest[T any, P IfWithInit[T]](d P, s *transform.TransformRequest) error
Types ¶
type IfWithInit ¶
type IfWithInit[T any] interface { *T Init([]byte, flatbuffers.UOffsetT) }
Click to show internal directories.
Click to hide internal directories.