Documentation ¶
Overview ¶
Package packaging provides functions to convert to and from http.Request/Response and json marshallable equivalents.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UnpackageHttpRequest ¶
func UnpackageHttpRequest(h *HttpRequest) (*http.Request, error)
func UnpackageHttpResponse ¶
Types ¶
type HttpRequest ¶
type HttpRequest struct { Method string URL string Host string Path string QueryString string Scheme string Body string ID string LocalID int64 Headers []KeyValue Query []KeyValue Tags []string }
func PackageHttpRequest ¶
Click to show internal directories.
Click to hide internal directories.