Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JSONRequest ¶
JSONRequest .
func (*JSONRequest) BeginRequest ¶
func (req *JSONRequest) BeginRequest(rt freedom.Runtime)
BeginRequest .
func (*JSONRequest) ReadBodyJSON ¶
func (req *JSONRequest) ReadBodyJSON(obj interface{}) error
ReadBodyJSON .
func (*JSONRequest) ReadQueryJSON ¶
func (req *JSONRequest) ReadQueryJSON(obj interface{}) error
ReadQueryJSON .
type JSONResponse ¶
type JSONResponse struct { Code int Error error Object interface{} // contains filtered or unexported fields }
func (JSONResponse) Dispatch ¶
func (jrep JSONResponse) Dispatch(ctx context.Context)
Click to show internal directories.
Click to hide internal directories.