Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ServeHTTPDebug ¶
func ServeHTTPDebug(w http.ResponseWriter, req *http.Request)
Types ¶
type JSONAnything ¶
type JSONAnything = interface{}
type JSONArray ¶
type JSONArray = []JSONAnything
type JSONObject ¶
type JSONObject = map[string]JSONAnything
type Server ¶
type Server struct { errors.Context Address *net.UnixAddr Listener *net.UnixListener HTTPHandlerFunc http.HandlerFunc }
type ServerRequestJSONBody ¶
type ServerRequestJSONBody JSONObject
func NewRequest ¶
func NewRequest(in *http.Request, body JSONAnything) (out ServerRequestJSONBody)
Click to show internal directories.
Click to hide internal directories.