Documentation ¶
Index ¶
- Constants
- type App
- func (app *App) DoGet(requrl string, headers H) (data []byte, err error)
- func (app *App) DoPost(requrl string, headers H, body io.Reader) (data []byte, err error)
- func (app *App) DoPostForm(requrl string, headers, params H) (data []byte, err error)
- func (app *App) DoPostJson(requrl string, headers H, body interface{}) (data []byte, err error)
- type H
Constants ¶
View Source
const ( ContentTypeHeaderKey = "Content-Type" CONTENT_TYPE_JSON = "application/json" CONTENT_TYPE_FORM = "application/x-www-form-urlencoded" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.