Documentation
¶
Index ¶
- func Case(name string, t *testing.T, fn func(items ...interface{}))
- func MapToStr(mp map[string]string) string
- type BaseGinEngine
- func (b *BaseGinEngine) Delete(uri string, param map[string]string) *httptest.ResponseRecorder
- func (b *BaseGinEngine) Get(uri string, param map[string]string) *httptest.ResponseRecorder
- func (b *BaseGinEngine) PostFile(uri string, param map[string]interface{}, files map[string]string) *httptest.ResponseRecorder
- func (b *BaseGinEngine) PostForm(uri string, param map[string]string) *httptest.ResponseRecorder
- func (b *BaseGinEngine) PostJson(uri string, param map[string]interface{}) *httptest.ResponseRecorder
- func (b *BaseGinEngine) PutForm(uri string, param map[string]string) *httptest.ResponseRecorder
- func (b *BaseGinEngine) PutJson(uri string, param map[string]interface{}) *httptest.ResponseRecorder
- type BaseGinServer
- func (b *BaseGinServer) Delete(uri string, param map[string]string) *httptest.ResponseRecorder
- func (b *BaseGinServer) Get(uri string, param map[string]string) *httptest.ResponseRecorder
- func (b *BaseGinServer) PostFile(uri string, param map[string]interface{}, files map[string]string) *httptest.ResponseRecorder
- func (b *BaseGinServer) PostForm(uri string, param map[string]string) *httptest.ResponseRecorder
- func (b *BaseGinServer) PostJson(uri string, param map[string]interface{}) *httptest.ResponseRecorder
- func (b *BaseGinServer) PutForm(uri string, param map[string]string) *httptest.ResponseRecorder
- func (b *BaseGinServer) PutJson(uri string, param map[string]interface{}) *httptest.ResponseRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BaseGinEngine ¶ added in v0.2.1
func (*BaseGinEngine) Delete ¶ added in v0.2.1
func (b *BaseGinEngine) Delete(uri string, param map[string]string) *httptest.ResponseRecorder
func (*BaseGinEngine) Get ¶ added in v0.2.1
func (b *BaseGinEngine) Get(uri string, param map[string]string) *httptest.ResponseRecorder
func (*BaseGinEngine) PostFile ¶ added in v0.2.1
func (b *BaseGinEngine) PostFile(uri string, param map[string]interface{}, files map[string]string) *httptest.ResponseRecorder
func (*BaseGinEngine) PostForm ¶ added in v0.2.1
func (b *BaseGinEngine) PostForm(uri string, param map[string]string) *httptest.ResponseRecorder
func (*BaseGinEngine) PostJson ¶ added in v0.2.1
func (b *BaseGinEngine) PostJson(uri string, param map[string]interface{}) *httptest.ResponseRecorder
func (*BaseGinEngine) PutForm ¶ added in v0.2.1
func (b *BaseGinEngine) PutForm(uri string, param map[string]string) *httptest.ResponseRecorder
func (*BaseGinEngine) PutJson ¶ added in v0.2.1
func (b *BaseGinEngine) PutJson(uri string, param map[string]interface{}) *httptest.ResponseRecorder
type BaseGinServer ¶ added in v0.2.1
func (*BaseGinServer) Delete ¶ added in v0.2.1
func (b *BaseGinServer) Delete(uri string, param map[string]string) *httptest.ResponseRecorder
func (*BaseGinServer) Get ¶ added in v0.2.1
func (b *BaseGinServer) Get(uri string, param map[string]string) *httptest.ResponseRecorder
func (*BaseGinServer) PostFile ¶ added in v0.2.1
func (b *BaseGinServer) PostFile(uri string, param map[string]interface{}, files map[string]string) *httptest.ResponseRecorder
func (*BaseGinServer) PostForm ¶ added in v0.2.1
func (b *BaseGinServer) PostForm(uri string, param map[string]string) *httptest.ResponseRecorder
func (*BaseGinServer) PostJson ¶ added in v0.2.1
func (b *BaseGinServer) PostJson(uri string, param map[string]interface{}) *httptest.ResponseRecorder
func (*BaseGinServer) PutForm ¶ added in v0.2.1
func (b *BaseGinServer) PutForm(uri string, param map[string]string) *httptest.ResponseRecorder
func (*BaseGinServer) PutJson ¶ added in v0.2.1
func (b *BaseGinServer) PutJson(uri string, param map[string]interface{}) *httptest.ResponseRecorder
Click to show internal directories.
Click to hide internal directories.