Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BindWithApiRequest ¶
func BindWithApiRequest(r *http.Request, req HttpApiMethod) error
Types ¶
type HttpApiMethod ¶
type HttpApiMethod interface { NewRequest() HttpApiRequest Decode2(c *http.Request, contentType string, r HttpApiRequest) (err error) }
type HttpApiRequest ¶
type HttpApiRequest interface {
Method() string
}
Click to show internal directories.
Click to hide internal directories.