Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FrameResponse ¶
func FrameResponse(f Framer) backend.DataResponse
FrameResponse creates a backend.DataResponse that contains the Framer's data.Frames
func FrameResponseWithError ¶
func FrameResponseWithError(f Framer, err error) backend.DataResponse
FrameResponseWithError creates a backend.DataResponse with the error's contents (if not nil), and the Framer's data.Frames This function is particularly useful if you have a function that returns `(Framer, error)`, which is a very common pattern
Types ¶
Click to show internal directories.
Click to hide internal directories.