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