Documentation ¶
Index ¶
- func Case(name string, t *testing.T, fn func(items ...interface{}))
- func MapToStr(mp map[string]string) string
- type BaseGin
- func (b *BaseGin) Delete(uri string, param map[string]string) *httptest.ResponseRecorder
- func (b *BaseGin) Get(uri string, param map[string]string) *httptest.ResponseRecorder
- func (b *BaseGin) PostFile(uri string, param map[string]interface{}, files map[string]string) *httptest.ResponseRecorder
- func (b *BaseGin) PostForm(uri string, param map[string]string) *httptest.ResponseRecorder
- func (b *BaseGin) PostJson(uri string, param map[string]interface{}) *httptest.ResponseRecorder
- func (b *BaseGin) PutForm(uri string, param map[string]string) *httptest.ResponseRecorder
- func (b *BaseGin) PutJson(uri string, param map[string]interface{}) *httptest.ResponseRecorder
- type BaseGins
- func (b *BaseGins) Delete(uri string, param map[string]string) *httptest.ResponseRecorder
- func (b *BaseGins) Get(uri string, param map[string]string) *httptest.ResponseRecorder
- func (b *BaseGins) PostFile(uri string, param map[string]interface{}, files map[string]string) *httptest.ResponseRecorder
- func (b *BaseGins) PostForm(uri string, param map[string]string) *httptest.ResponseRecorder
- func (b *BaseGins) PostJson(uri string, param map[string]interface{}) *httptest.ResponseRecorder
- func (b *BaseGins) PutForm(uri string, param map[string]string) *httptest.ResponseRecorder
- func (b *BaseGins) PutJson(uri string, param map[string]interface{}) *httptest.ResponseRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BaseGin ¶
type BaseGin struct {
// contains filtered or unexported fields
}
func (*BaseGin) PostJson ¶
func (b *BaseGin) PostJson(uri string, param map[string]interface{}) *httptest.ResponseRecorder
type BaseGins ¶
type BaseGins struct {
// contains filtered or unexported fields
}
func (*BaseGins) PostJson ¶
func (b *BaseGins) PostJson(uri string, param map[string]interface{}) *httptest.ResponseRecorder
Click to show internal directories.
Click to hide internal directories.