Documentation ¶
Index ¶
- func DeleteWithToken(url string, userID uint64) *httptest.ResponseRecorder
- func ExtendKeys(a, b gstruct.Keys) gstruct.Keys
- func Get(url string) *httptest.ResponseRecorder
- func GetWithToken(url string, userID uint64) *httptest.ResponseRecorder
- func ParseJSON(resp *httptest.ResponseRecorder, code int) map[string]interface{}
- func Post(url, data string) *httptest.ResponseRecorder
- func PostWithToken(url, data string, userID uint64) *httptest.ResponseRecorder
- func PutWithToken(url, data string, userID uint64) *httptest.ResponseRecorder
- func ResetAll(ctx context.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteWithToken ¶
func DeleteWithToken(url string, userID uint64) *httptest.ResponseRecorder
func Get ¶
func Get(url string) *httptest.ResponseRecorder
func GetWithToken ¶
func GetWithToken(url string, userID uint64) *httptest.ResponseRecorder
func Post ¶
func Post(url, data string) *httptest.ResponseRecorder
func PostWithToken ¶
func PostWithToken(url, data string, userID uint64) *httptest.ResponseRecorder
func PutWithToken ¶
func PutWithToken(url, data string, userID uint64) *httptest.ResponseRecorder
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.