Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StreamWrapper ¶
func StreamWrapper(w http.ResponseWriter, r *http.Request) func(context context.Context, chunk []byte) error
StreamWrapper is a function that takes a http.ResponseWriter and a http.Request as parameters. It returns a function that takes a context and a byte slice, and returns an error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.