package
0.21.1
Repository: https://github.com/e154/smart-home.git
Documentation: pkg.go.dev

# Functions

DeserializeHTTPRequest create a new http.Request from a HTTPRequest.
NewHTTPResponse creates a new HTTPResponse.
ProxyError log error and return a HTTP 526 error with the message.
ProxyErrorf log error and return a HTTP 526 error with the message.
SerializeHTTPRequest create a new HTTPRequest from a http.Request.
SerializeHTTPResponse create a new HTTPResponse from a http.Response.

# Structs

HTTPRequest is a serializable version of http.Request ( with only usefull fields ).
HTTPResponse is a serializable version of http.Response ( with only useful fields ).