Documentation
¶
Index ¶
- func CleanUp()
- func GetErrorResponse(rr *httptest.ResponseRecorder) string
- func GetResponse(rr *httptest.ResponseRecorder) (utils.M, error)
- func Init() (context.Context, error)
- func InitWithUser() (context.Context, *users.User, error)
- func NewRequest(ctx context.Context, method, url string, requestBody []byte, ...) (*httptest.ResponseRecorder, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetErrorResponse ¶
func GetErrorResponse(rr *httptest.ResponseRecorder) string
func GetResponse ¶
func GetResponse(rr *httptest.ResponseRecorder) (utils.M, error)
func NewRequest ¶
func NewRequest(ctx context.Context, method, url string, requestBody []byte, handler http.HandlerFunc) (*httptest.ResponseRecorder, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.