Documentation ¶
Index ¶
Constants ¶
Variables ¶
View Source
var ( Magic = packer.Magic{0x02, 0xfc} Version = packer.Version(0x01) )
View Source
var ( BodyStreamBufferSize = 4 * 1024 ErrNotBody = errors.New("payload not an http body") )
Functions ¶
func Backend ¶
func Backend(stream io.ReadWriter) (http.ResponseWriter, *http.Request, error)
Stream -> HTTP
func Frontend ¶
func Frontend(w http.ResponseWriter, r *http.Request, stream io.ReadWriter) error
Note: make sure you call HTTP -> Stream
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.